what are the way a client can be tracked?
Answers were Sorted based on User's Feedback
Answer / nirbhay gupta
Client can be tracked with the help of session management
technique.we can use any one of them as like Cookies etc.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
Answer / guest
Refer
http://www.onjava.com/pub/a/onjava/excerpt/jebp_3/index1.htm
l?page=4
sandhya S
| Is This Answer Correct ? | 0 Yes | 0 No |
can i call init() method in destroy() method of servlset. ?
What is cookie? Why is cookie used?
Is it good idea to create servlet constructor?
What is Request Dispatcher?
What is a web container and what is its responsibility?
Tell us something about servletconfig interface.
What are session variable in servlets?
What are the advantages of servlets over traditional cgi?
Should I override the service() method?
How can I share objects across different sessions?
where the session data will stored?
How to pass session values from one servlet container to another servlet container? or how can we get session values of one container in another container?