2 Ways To Implement Session Tracking
By Kiran Pai2005-06-11
Cookies
There will be no code here to explain cookie usage. Using cookies is probably the best and the neatest of all the methods to maintain sessions. Cookies are basically small text files that are stored on the user's computers. This has information pertaining to that user. Once the cookie is created on the user's computer then for every further request made by that user in that session, the cookie is sent along with the request. The value of every cookie is unique (for users browsing a particular website), so the server side program can differentiate between various users.
The method to program cookies is different for different languages. Most of the language provide some class that covers all the details of cookie creation and maintenance. For example in Java you have a javax.servlet.http.Cookie class that is used to work with cookies. Since I have decided to keep this article language neutral and I had not planned to discuss cookies in depth I would not go into the details of cookie programming.
Tutorial pages:
|
|
|||||||||
You might also want to check these out:
|
Leave a Comment on "2 Ways To Implement Session Tracking"
You must be logged in to post a comment.
Link to This Tutorial Page!

