Q. How does CF manage session timeouts?
A.
CF session variables timeout is primarily controlled by setting the maximum
and minimum timeout in your CF Administrator.
However, the values controlled by the CF Server can be overridden by setting
your own timeout in the CFAPPLCATION tag SESSIONTIMEOUT attribute.
e.g. <CFAPPLICATION NAME="ETurtle"
SESSIONTIMEOUT=#CreateTimeSpan(0, 0, 0, 60)#
SESSIONMANAGEMENT="Yes">
Session variables are stored as cookies on the client machine by default,
hence the cookie containing the CFID and CFToken.
Hope this sheds a bit of light of session variable timeouts?
-----Original Message-----
From: Gyrus [mailto:[EMAIL PROTECTED]]
Sent: 10 May 2002 13:48
To: CF-Talk
Subject: refreshing CFID + CFTOKEN with client-side JavaScript?
I'm looking for a way of refreshing a user's session (i.e. setting the
timeout back to 20 minutes or whatever) from the client-side - so users
can click a button to refresh their session without the page they're on
changing at all.
How does CF manage session timeouts? I assume it's through the expire
value of the CFID and/or CFTOKEN cookies. In which case, could I use
client-side JavaScript to reset the expire value of these cookies?
I've never used JS to manipulate cookies before: any ideas?
- Gyrus
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
- PGP key available
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
______________________________________________________________________
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