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 |
What are the advantages of cookies?
What are the steps that are required to handle the multi-threading?
How native code can be used in a servlet?
what do you understand by url rewriting?
Tell us something about servletcontext interface.
What is servlet and its life cycle?
How to find whether a parameter exists in the request object?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
Are Servlets Thread Safe? How to achieve thread safety in servlets?
Explain mvc pattern.
Name the servers that can be used to develope and deploy Servlets?
Which exception is thrown if servlet is not initialized properly?