How do you track a user session in servlets?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are its drawbacks of cgi?

777


Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

837


What is java servlet?

798


What are the two important api's in for servlets?

797


Define the servlet mapping.

715


What are the kinds of http requests?

781


How the JSP file will be executed on the Server side?

869


What is cgi and what are its drawbacks?

744


What’s the difference between sendredirect and forward methods

821


Tell us something about servletcontext interface.

822


What are the ways to handle multi-threading in servlets?

831


How does tomcat servlet container work?

808


How do you invoke a servelt?

826


What is a server side include (ssi)

772


Explain servlet.

774