what is session tracking?what are types of session
tracking ?and when to cookies,when to use
sessionmanagement,whent use url rewriting technique,plz
explain briefly?

Answer Posted / bhavesh kumar

Session tracking is the mechanism by which developer tracks the user actions across the session.
For example, an online video store must be able to determine each visitor’s sequence of actions. Suppose
a customer goes to your site to order a movie. The first thing he does is look at the available titles. When
he has found the title he is interested in, he makes his selection. The problem now is determining who
made the selection. Because each one of the client’s requests is independent of the previous requests,
you have no idea who actually made the final selection.

Their are 3 types of sesssion mechanism.
1)hidden form fields:-store information about session.
2)cookies:- a small piece of textual information sent by web apllication to client,sored on client and returned by the client for all request to the server.
3)url rewriting:- it is the concept of attaching a unique id.server attact this unique id in each url.when the client send requests it send back this id with the request also which helps the server to identify the client uniquely.

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create war file?

786


What is the servlet?

818


Why is Servlet so popular?

764


What are the types of protocols supported by httpservlet ?

910


What's the architecture of a servlet package?

725


How is a servlet implemented in code?

762


How can we perform any action at the time of deploying the project?

853


What do you mean by web applications? Explain web application directory arrangement?

715


What is the difference between portlet and servlet?

693


How can we invoke another servlet in a different application?

894


What are the various ways of session supervision in servlets?

717


What is the structure of the http response

898


Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

726


List out difference between a JavaBean from a Servlet?

726


What is ServletConfig object?

802