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 the use of httpservletresponsewrapper?
Explain the steps involved in placing a servlet within a package?
Explain servlet life cycle?
What are the life cycle methods of a servlet?
What is the difference between Server and Container?
What are the differences between forward() method and sendredirect() methods?
How can I send user authentication information while making URL Connection?
how many jsp scripting elements are there and what are those?
What is MIME Type?
If servlet receives multiple requests, how many objects will it create?
How can a servlet be used to generate plain text instead of html?
Explain the servlet filter.
Which http method is said to be non-idempotent and idempotent?
How do you configure a centralized error handler in servlets?
What is the life cycle of a servlet?