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 exactly is a servlet?
What is the difference between encodeRedirectUrl and encodeURL?
Explain the lifecycle of a servlet?
Why is httpservlet declared abstract?
What are the uses of servlet
Explain the servlet filter.
Why are servlets used?
What is servlet name in web xml?
What is ServletConfig object?
Which is the methods of generated servlet?
What is a java servlet?
What are the different methods of session management in servlets?
what do you understand by url rewriting?
Explain is servlet mapping?
Explain the concept of ssi ?