ASP  «Prev  

Establishing a Session ID using ASP

1) When a user connects to the site, the server accepts the connection.
When a user connects to the site, the server accepts the connection.

2) The server sends this value in the form of a cookie to the user's browser.
The server sends this value in the form of a cookie to the user's browser.

3) Until the connection is abandoned or times out, the server will use that value to mark the user's requests so it can return the requested files to the right place.
Until the connection is abandoned or times out, the server will use that value to mark the user's requests so it can return the requested files to the right place.

4) When a new user connects to the server, the server again consults an internal value, increments it by one, and assigns that value to the new user's connection
When a new user connects to the server, the server again consults an internal value, increments it by one, and assigns that value to the new user's connection