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
What are the different mode that servlets can be used?
What do you mean by cgi?
What are the functions of Servlet container?
What are the important functions of filters?
How to commuincate between an applet and a servlet?
When servlet object is created?
How servlet is created?
What is difference between PrintWriter and ServletOutputStream?
What is servlet container?
What are the two important api's in for servlets?
How are filters?
What mechanisms are used by a Servlet Container to maintain session information?
Can we get PrintWriter and ServletOutputStream both in a servlet?
How can we refresh automatically when new data is entered into the database?
What are the types of an http request?