Re: refreshing CFID + CFTOKEN with client-side JavaScript?

2002-05-10 Thread Gyrus
- Original Message - From: "Roger B." <[EMAIL PROTECTED]> > How can I refresh the session on the client-side using JavaScript? Use a hidden frame or iframe that does a document.location via Javascript when your button is clicked. Fiddling with cookies won't get you anywhere... CF has to re

Re: refreshing CFID + CFTOKEN with client-side JavaScript?

2002-05-10 Thread Dina Hess
yes, those are both good points to consider. thank you for the clarification. :) ~ dina - Original Message - From: "Dave Watts" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, May 10, 2002 12:49 PM Subject: RE: refreshing CFID + CFT

RE: refreshing CFID + CFTOKEN with client-side JavaScript?

2002-05-10 Thread Dave Watts
> in your cfapplication tag, you can setclientcookies='no', then > set cookie-scoped cfid and cftoken variables equal to the > session-scoped cfid and cftoken variables. since cookie scope > does not persist, your cookies will remain intact only until the > browser is closed. > > this technique e

Re: refreshing CFID + CFTOKEN with client-side JavaScript?

2002-05-10 Thread Dina Hess
> - Are CFID and CFTOKEN values within one cookie or separate cookies? the cfid and cftoken cookies (variables) are stored within one file on the client browser. > - If separate, do both have their expire value set to the session > timeout - meaning both would need to be refreshed to refresh the

Re: refreshing CFID + CFTOKEN with client-side JavaScript?

2002-05-10 Thread Roger B .
On Fri, 10 May 2002 15:08:48 +0100, in cf-talk you wrote: >How can I refresh the session on the client-side using JavaScript? Use a hidden frame or iframe that does a document.location via Javascript when your button is clicked. Fiddling with cookies won't get you anywhere... CF has to receive a

Re: refreshing CFID + CFTOKEN with client-side JavaScript?

2002-05-10 Thread Gyrus
- Original Message - From: "Dina Hess" <[EMAIL PROTECTED]> 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. No - and I know about how to control th

Re: refreshing CFID + CFTOKEN with client-side JavaScript?

2002-05-10 Thread Dina Hess
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.h

RE: refreshing CFID + CFTOKEN with client-side JavaScript?

2002-05-10 Thread Mike Connolly
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 SESSIONTIMEO