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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP Session is not preserved

Status
Not open for further replies.

dbrom

Programmer
Feb 21, 2001
100
US
On my local website (IIS 5.0 running on Windows 2000 Professional), the session is not preserved for some odd reason.

I made sure the "Enable Session State" is checked under IIS configuration applet (Home Directory->Configuration->App Options). I also made sure the browser settings are OK - and it works with our production server as well.

The problem is on my local development server.
When I use Response.Write(Session.SessionID) I get a different value every time... SessionID is incremented by one.

So, am I missing some IIS settings, or what esle can the problem be?

I appreciate any help.
Thanks in advance.;-) <Dmitriy>
dbrom@crosswinds.net
 
OK, I figured it out.

I had an empty global.asa file, and that seemed to be the problem.

When I replaced it with a default global.asa file (with comments and all that stuff), it worked!

;-) <Dmitriy>
dbrom@crosswinds.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top