I would use the Brian Kotek's customtag called cf_clienttimeout and you
wouldn't have to pass the CFID/CFTOKEN around.  

<clienttimeout timeout="10">

Then

<cfif timedout>
<cflocation url="index.cfm">
</cfif>

-----Original Message-----
From: Graham Pearson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 12:20 PM
To: CF-Talk
Subject: CFApplication


 From what I have understood, CFAPPLICATION by default will not expire 
client variables on browser close. I have clientmanagement turned on 
session management turned off, client storage to an odbc datasource and 
set 
client cookies turned off.

What I am trying to do is pass CFID and CFTOKEN on each link, but want 
to 
test for this value and if the CGLOBAL.LVISIT from the client storage 
tables is greater than 10 minutes then redirect them back to the main 
index.cfm page.

Any Ideas


------------------------------------------------------------------------
----
---------------
Graham Pearson, System Administrator / Webmaster
Northern Indiana Educational Services Center
Http://support.niesc.k12.in.us  Email: [EMAIL PROTECTED]

Voice (800) 326-5642 or (219) 254-0111  Fax (219) 254-0148
------------------------------------------------------------------------
----
----------------

______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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