Thank you for all your concern Thank you Sharon specially . I finish to polish the suggestions with this last mail regards Mario ----- Original Message ----- From: "Sharon Diorio" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, May 16, 2002 1:56 PM Subject: Re: How to detect timeout session??
> In the application.cfm: > > <!--- Security (show only the login screen if they aren't already logged in) ---> > <cflock scope="SESSION" type="exclusive" timeout="10"> > <cfparam name="SESSION.loggedIn" default=0> > <cfset REQUEST.loggedIn = SESSION.loggedIn> > </cflock> > <cfif NOT REQUEST.loggedIn AND NOT FindNoCase("login.cfm", CGI.script_name))> > <cflocation url="login.cfm"> > <cfabort> > </cfif> > > On the login page, you'd set the session variable "loggedIn" to equal 1. This catches people who've timed out as well as people who've not logged in yet. > > Sharon DiOrio > > ----- Original Message ----- > From: "Mario Martinez" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Thursday, May 16, 2002 11:49 AM > Subject: How to detect timeout session?? > > > > Hi friends: > > I need to find an easy way to detect timeout session to redirect the user to > > a login page in case he has spent too much time without actvity. > > Any easy way to detect that at the beginning of one template??? > > > > regards and thanks in advance > > Mario > > > > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists