Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Session Vars

Status
Not open for further replies.

victork

Programmer
Dec 15, 2000
10
US
If you are using session vars in your asp code, is it required that the user have Cookies enabled on the browser? In other words, does IIS use cookies to track the session vars between requests (since we are talking about a stateless connection)?? Or does IIS use some kind of internal tracking of the session based on the info in the headers??
 
As far as I know they are 2 completely different things. You can use session variables with out cookies turned on.

Mark
 
Mark,

thanks for the response....we have had a discussion about this at work and a couple of the senior pgmrs claim that IIS keeps track of the session through sending cookies back and forth. Now these are not necessarily cookies in the traditional sense, however, there is data stored on the client and sent back to the server on each request. However, without cookies enabled, the browser will not store any information from the server.

Without this method, how does IIS keep track of each request to determine which session it is associated to? Are there other parameters in the http header that are iused instead??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top