by Jay » Tue Sep 03, 2002 11:12 am
A session basically works by the server placing a cookie on your PC with a unique code (the session value). Every time you access a page from the same site, your browser sends back the cookie values before it requests the page. The server sees the session value, and also uses any session variables which are stored on the server using the same session ID! It then generates the page and sends it back to the user!
So sessions are basically secure per se, until someone guesses your session ID (which is a 32 alphanumeric character) while it's active or hacks into the server!