Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: obtaining session ID value out of cookie


Message #1 by "Nick Charlesworth" <nick@f...> on Tue, 17 Sep 2002 13:46:02
I am building a shopping cart application and am looking at the sample 
shopping cart application in the professional ASP.NET book.

In the sample application it says it avoids using sessions so that the 
user can be tracked across a web farm (multiple servers) but uses the 
session cookie to identify the user until they have logged in after which 
the application uses the forms authentication username to identify the 
user.

What code will retrieve the the session ID that is held in the cookie on 
the users machine?

Will each server in the web farm use this same instance of the cookie and 
not produce its own cookie?

thanks,

Nick

  Return to Index