You could look for the SESSION variable. If the session has timed out
then it will not exist. ie

<CFIF NOT IsDefined("SESSION.Var2LookFor")>
        Send the user somewhere else.
</CFIF>

HTH

J. 
 
John Wilker
Web Applications Consultant, and Author
Macromedia Certified ColdFusion Developer
President/Founder, Inland Empire CFUG.
www.red-omega.com
 
"more people are killed by donkeys than by airplane crashes each year"


-----Original Message-----
From: Ben Densmore [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, April 11, 2002 11:39 AM
To: CF-Talk
Subject: how to tell if a session has expired


Can someone tell me how you can tell if a session has timed out?  I just

want to redirect someone to a different page if their session has timed 
out,I can't find any reference to this anywhere, I know it's gonna be 
something so simple, but can't seem to find it.

Thanks,
Ben 



______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to