Jump to content
Sign in to follow this  
vijay1440

How session handling is done in HTTP

Recommended Posts

Hi!I want to know how the session handling is done in HTTP in a detailed way. About the way in which the Cookies are used, i am a bit familiar about. But i want to know how the session handling is done in the remaining ways. I want also to know what will be the Web-browser's role in maintaining the user's sessions. What the data that the browser will send to the web-server in order to maintain the user session.Thanks much for any help,Vijay

Share this post


Link to post
Share on other sites

When a session is created for a user, a unique SessionID is created by the server for that session. Any data that is stored on the server for a particular session (like the contents of a shopping cart) have a reference to that SessionID. This data is stored in the memory of the server.When a user sends a request to the server, the server has to be told the SessionID for that user's session. The way most web applications deal with this is either appending a special code to the URL or by storing the SessionID value in a cookie on the users computer. The server reads that code and then loads up the session data.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...