Thank you for your reply. This looks like a great solution on top of the java script.
Have a good day. Rick Sanders Webenergy www.webenergy.ca -----Original Message----- From: John M Bliss [mailto:[email protected]] Sent: Wednesday, June 22, 2011 4:10 PM To: cf-talk Subject: Re: Timing out a webpage ...but note that Javascript can be turned off. So, in addition, you'd want to do something like this on page load (including first page where timer should start and last page that processes test): <cfparam name="session.starttime" default="#now()#"> <cfif datediff("n", session.starttime, now()) GT 15> <!--- run some "test timed out" code ---> </cfif> On Wed, Jun 22, 2011 at 2:02 PM, Russ Michaels <[email protected]> wrote: > > well you have 2 options. > > set your session timeout to 15 minutes, this will then mean they cannot sit > on a page doing nothing for more than 15 minutes. > If you want to time them for 15 minutes regardless of how many pages they > load or refresh then you could create a Javascript timer, Google will > garnish you with one of these. > > Russ > > > On Wed, Jun 22, 2011 at 7:39 PM, John M Bliss <[email protected]> > wrote: > > > > > Can the timeout check happen on a page load? Or do you need to have it > > happen while page is displayed? > > > > On Wed, Jun 22, 2011 at 1:32 PM, Rick Sanders <[email protected]> wrote: > > > > > > > > Hey all. I have an online test that I want to timeout after 15mins. > Does > > > ColdFusion have a feature built-in to do this? It's my first time doing > > > this > > > sort of thing. Thanks. > > > > > > > > > > > > Kind Regards, > > > > > > > > > > > > WebLogomailsig > > > > > > Rick Sanders > > > > > > Webenergy Software > > > > > > 902-401-7689 > > > > > > http://www.webenergy.ca <http://www.webenergy.ca/> > > > > > > > > > > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345564 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

