[thelist] CF: CFCookie not sticking?
Sarah Sweeney
mr.sanders at designshift.com
Fri Apr 30 11:52:48 CDT 2004
> I'm choosing to use a cookie.variable because for some reason I can't
> use a session.var. I can't seem to carry a variable across a page
> reload-- I wonder if this is because it comes from an exception error
> document, or because the exception prevents the setting of the session.var?
Frank,
OK, I understand now. From my own personal experience, I know that a
site-wide error handler can't read session variables (which really
sucks) - my guess is that this is also true for cookies. When I was
looking into the problem, I found this page:
http://www.macromedia.com/support/coldfusion/ts/documents/tn17533.htm
Which states that: "The request's CGI, FORM, and URL variables are
available to help your template diagnose the failing request."
If you can't make this work with cookies, maybe you could use a database
table to track when a user has submitted this form.
Sarah
More information about the thelist
mailing list