View Single Post
Old 02-20-2013, 09:13 PM   PM User | #4
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,248
Thanks: 59
Thanked 3,998 Times in 3,967 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Quite frankly, I've never seen that in 14 years of using ASP.

You must have *something* in your code that is clearing one or all of the session variables.

I don't understand this comment:
Quote:
if the session doesn't exist it created it
That's always true. You can't just check for the session, you check for a particular session variable.

I have been known to use stuff like
Code:
Session("sessionStarted") = Now()
And then on each page I can dump out
Code:
Started: <%=Session("sessionStarted")%>
and get a feel for when, for example, I have inadvertently re-started the session.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote