Which of the following are the session tracking techniques?

Options
- URL rewriting, using session object, using response object, using hidden fields
- URL rewriting, using session object, using cookies, using hidden fields
- URL rewriting, using servlet object, using response object, using cookies
- URL rewriting, using request object, using response object, using session object


CORRECT ANSWER : URL rewriting, using session object, using cookies, using hidden fields

Discussion Board
Session Techniques

Session means a particular interval of time and Session Tracking is a way to maintain state (data) of an user in other terms it is all about managing the session in servlet. The session tracking techniques involves the following things:

1) Cookies
2) Hidden Form Field
3) URL Rewriting
4) HttpSession

Http protocol is used to maintain the session and its state is stateless where state needs to be managed using one of the technique mentioned above. The process is like this that whenever a user requests to the server, server treats the request as the new request. So we need to maintain the state of an user to recognize to particular user.

Rohit Sharma 11-27-2014 04:18 PM

Servlets

Lets discuss. Lol.

Atif aslam 10-30-2014 01:50 PM

J2EE

I'm Java programming student

tuntun 09-3-2014 03:22 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement