How do you track a user session in servlets?

Answers were Sorted based on User's Feedback



How do you track a user session in servlets?..

Answer / udayc how

1)user authentication
2)hidden form fields
3)cookies
4)url rewriting
5)httpsession

Is This Answer Correct ?    10 Yes 0 No

How do you track a user session in servlets?..

Answer / cnu

by request.getSession("true");

Is This Answer Correct ?    7 Yes 1 No

How do you track a user session in servlets?..

Answer / ravikiran.chd

by making use of session tracking mechanisms such as
1).Hidden Form Fields
2).cookies
3).Http Sessions
4).Url Rewriting

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Servlets Interview Questions

What is the use of request dispatcher interface?

0 Answers  


How to set a cookie that is persisted only for the duration fo the clients session?

1 Answers  


What is the procedure for initializing a servlet?

0 Answers  


Why servlet is used as controller ? Not JSP? I want complete explation?

0 Answers   Tech Mahindra,


how a servlet is instantiated, whether the container calls init() or by calling any other method? please somebody reply..

6 Answers   Siemens,






Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?

0 Answers  


What happens, if server sends a cookie to a browser that doesn't supports cookies?

2 Answers  


What is java servlet session?

0 Answers  


What are the security issues in Servlets?

2 Answers  


Which exception is thrown if servlet is not initialized properly?

1 Answers  


What is servlet?

15 Answers   Conesys, Siemens,


What are the various ways of session supervision in servlets?

0 Answers  


Categories