hi gyrus,

i'm reading between the lines here, but if i'm understanding you
correctly, you want to make sure the session closes when the
browser closes--then and only then. if that's the case, i don't
think you need js. take a look at the state management tutorials
at hal helms' site (http://www.halhelms.com). the viewlet builder
that runs them is a pain because it won't resize to 800x600 (in
my case), but the information is worth the nuisance.

~ dina


----- Original Message -----
From: "Gyrus" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, May 10, 2002 7:48 AM
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
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>

______________________________________________________________________
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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to