> I have two questions about sessions.
>
> 1)  I have an application that opens a pop-up javascript window
> with a form.
> This  on the javascript window submits itself back to the template that
> opened it.  It seemed to be working fine, but suddenly I am loosing my
> session when the form is submitted.  (Its changing to a new CFID and
> CFTOKEN).  The question is what could be causing me to loose the
> session in
> this way and how do I fix this?  Do I have to start passing
> URLTOKEN around?

Have you also suddenly turned off cookies? If you haven't been passing
URLToken around previously then you must have been relying on cookies to
perpetuate the session. Or, has the domain portion of the popup box changed
i.e. is your main site www.a.com and the popup box in www.b.com - this would
cause cookie loss and hence session loss.


> 2) What methods can I use to prolong the length of a session?  I can't
> change the timeout value because I am using an ISP.

Eron, just because you're using an ISP it doesn't mean that you can't change
the timeout values. Sure, you can't change the default timout values as set
in the administrator but you can override these with your own settings in
your <CFAPPLICATION> tag (e.g. sessiontimeout="#CreateTimeSpan(0,0,30,0)#").

> Thanks,
> Eron

NP
Steve

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to