what are the way a client can be tracked?

Answers were Sorted based on User's Feedback



what are the way a client can be tracked?..

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

what are the way a client can be tracked?..

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

what are the way a client can be tracked?..

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

Post New Answer

More Servlets Interview Questions

What are the advantages of cookies?

0 Answers  


What are the steps that are required to handle the multi-threading?

0 Answers  


How native code can be used in a servlet?

0 Answers   IBM, TCS,


what do you understand by url rewriting?

0 Answers  


Tell us something about servletcontext interface.

0 Answers  






What is servlet and its life cycle?

0 Answers  


How to find whether a parameter exists in the request object?

0 Answers  


What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?

0 Answers  


Are Servlets Thread Safe? How to achieve thread safety in servlets?

0 Answers  


Explain mvc pattern.

0 Answers  


Name the servers that can be used to develope and deploy Servlets?

1 Answers  


Which exception is thrown if servlet is not initialized properly?

1 Answers  


Categories