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 life cycle of a servlet?
Write a command to get actual path of a servlet to the server?
What do you mean by web applications? Explain web application directory arrangement?
What if we pass negative value in load-on-startup?
Explain servlet events?
What is preinitialization of a servlet?
What does the term localization refer to?
What is servlet lazy loading?
What are the exceptions thrown by servlets? Why?
What is the web server used for running the Servlets?
Why is init() method is used in servlets?
Can filter be used as request or response?
What is meant by servlet? What are the parameters of the service method?
What is the difference between the include() and forward() methods?
What is the major difference between servlet and applet?