View Single Post
  #1 (permalink)  
Old April 12th, 2007, 09:04 AM
melkin melkin is offline
Authorized User
Points: 483, Level: 7
Points: 483, Level: 7 Points: 483, Level: 7 Points: 483, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2007
Location: Edgewood, NY, USA.
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sessions dont work

Hi. I am a beginner here...

I want to simply have a session on a page for 30 minutes. After 30 minutes is up, to redirect to another .asp page.

Here is what I have:

<%Session.Timeout=30
if (Session.Timeout=0)then
%>
<%
Response.Redirect("cart_endsession.asp")
End If
%>

currently, it doesnt do a thing. Why?