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
What is the use of welcome-file-list?
What is the difference between using getSession(true) and getSession(false) methods?
What are the life-cycle methods for a servlet?
Explain the difference between get and post method in servlet?
Why is Servlet so popular?
why we should override only no-agrs init() method.
What is the disadvantage of cookies?
What is Servlets and explain the advantages of Servlet life cycle?
Does servlet have main method?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
What is the difference between context parameter and context attribute?
What are the uses of servlet and what is servlet chaining?
Which protocol will be used by browser and servlet to communicate
What is servlet collaboration?
What are Servlets?