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

Session disapearing

Status
Not open for further replies.

tlhawkins

Programmer
Dec 28, 2000
797
US
Hello,

I know there are other threads on reasons for this but the search wasn't working. It kept returning 0 results for the word "Session" in this forum.

So, here's my problem. I have a site that uses ASP session ID as a key to keep track of it's own session objects as a file on the disk. It has been working correctly for years.

Just recently I've had customers who's session would disapear but when I got the session Id they were using and look on the disk the session object is there.

It looks like the page accepting the post just doesn't have the SessionId. I've tried everything I can think of but can't figure out why this customer wouldn't have his session. I've looked at the CGI variables for the page (because it creates an error that logs this data) and the cookie is there with the sessionids. The sessionId is on the Querystring but the page keeps saying it can't find the session.

Any ideas?


Travis Hawkins
 
The session is a cookie. If the web browser has its security settings too high, or the user has some sort of privacy software, the browser may not return the cookie.

If this is happening your user will have a different session ID for for each page.
 
Thanks Sheco,

I thought of that as well. What made me think this was not the problem is that the output of all CGI vars shows the cookie is in fact being returned. Also, in order to get to the point where the session is disapearing the session would have to stay in tact for 3 pages.

Is there anything else you can think of that would kill a session?

Thanks

Travis Hawkins
 
Maybe there is a Session.Abandon statement somewhere in the code? Perhaps an include file?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top