what are the way a client can be tracked?

Answer Posted / sonam

Client can be tracked by the means of session management or session tracking.consider a scenario :
-user requests a login page to the servlet.
-servlet loads the page.
-user enter the info and if correct given access.
-now if another servlet that also only allows authorizd users to view info.this servlet wil not know whether the same user is successfully logged in and as such the user wil have to login again.
There are 4 ways of achieving session management : 1.URL rewriting 2.Cookies 3.Session objects 4.Hidden fields

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different mode that servlets can be used?

549


What do you mean by cgi?

529


What are the functions of Servlet container?

607


What are the important functions of filters?

594


How to commuincate between an applet and a servlet?

585






When servlet object is created?

598


How servlet is created?

540


What is difference between PrintWriter and ServletOutputStream?

768


What is servlet container?

663


What are the two important api's in for servlets?

586


How are filters?

578


What mechanisms are used by a Servlet Container to maintain session information?

662


Can we get PrintWriter and ServletOutputStream both in a servlet?

654


How can we refresh automatically when new data is entered into the database?

595


What are the types of an http request?

579