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 is war file?
What is the difference between Server and Container?
What is servletconfig?
What are different ways for authentication of servlet?
What’s the difference between genericservlet and httpservlet?
What is difference between GenericServlet and HttpServlet?
How can the session in servlet can be destroyed?
How can we create deadlock situation in servlet?
Can we refresh servlet in client and server side automatically?
What is servlet in tomcat?
Write a simple servlet program to print the contents of html.
Why don't we write a constructor in a servlet?
How the typical servlet code look like ?
Why do we have servlet wrapper classes?
What is the difference between Servlets and Applets?