If it EXISTS, then it's valid. And for a page to run (with session scope enabled), then it's valid. At least for the scope of that page.<BR><BR>What do you mean - you want to test to see if one has timed out and another started?<BR><BR>Craig.
Further to what Craig said:<BR><%<BR>mySessionID = session.sessionID <BR><BR>if mySessionID<>"" Then <BR> ' code here <BR>Else<BR> Response.write "Please login again"<BR>end if <BR>%>
I am writing info to a database, so I write information on the user and one of the fields is the sessionID.<BR><BR>I will need to run periodic checks if the sessionID is still active, or if it has expired. If the sessionID has expired, I need to delete all records in the database pertaining to that sessionID.<BR><BR>Greg<BR>