2 Ways To Implement Session Tracking
By Kiran Pai2005-06-11
What does HTTP being stateless have to do with session tracking?
Session tracking is so common that you may not even realise that it is present. You might be used to it. It is used on almost every possible site you visit on the net. For example at Hotmail once you enter your username-pass and you reach your inbox, had there been no session tracking then every time you click on a particular link in your inbox, you would be asked for your password. This would be the case since there would be no way to understand that the one who had originally entered his username-password is the same person who is currently asking for more pages. Session tracking allows you to store the information that you have successfully logged in and this information would be checked every time you do any thing within your inbox. Thus you would not be asked to enter your password with every click. I can give you thousands of examples where session tracking is used, but I guess you have got the point.
Now lets begin with the actual way to implement session tracking. I shall explain 2 ways to implement session tracking
1. Hidden Fields In Forms
2. URL Rewriting
Also I conclude the article with a few lines on cookies which is also used for session tracking.
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!

