1. get cfmx (this is fixed in cfmx)
2. there is some cfscript function that is supps to work, although I
have yet to get it right.
3. have the cookie get set on a page that has a link that says Click
here to proceed so that they
don't get cflocated they just have to click a link to go to the next
I know it says in the documentation ...
Warning
Do not set a cookie variable on the same page that you use the CFLOCATION
tag.
If you do, the cookie is never saved on the browser; therefore, it is of no
value.
So how can I set a cookie on a processing page that need to have a
redirect?
That
I know it says in the documentation ...
Warning
Do not set a cookie variable on the same page that you use
the CFLOCATION tag. If you do, the cookie is never saved on
the browser; therefore, it is of no value.
So how can I set a cookie on a processing page that need to
have a
oi coldfusion!!
cfsavecontent variable=jscript
SCRIPT LANGUAGE=JavaScript TYPE=text/javascript
!--
self.location = blah.cfm
//--
/SCRIPT
/cfsavecontent
cfhtmlhead text=#jscript#
or maybe .
cfheader name=location value=page_goes_here
cfheader statuscode=302
set the cookie here
!--- now redirect ---
script
self.location=new_location.cfm;
/script
that is the easiest way :)
Pablo
- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, July 25, 2003 8:56 AM
Subject: CFCookies and CFLocation
All,
I know
I usually write a javascript function that will redirect to the next page.
That seems to work fine.
Ben
- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, July 25, 2003 9:56 AM
Subject: CFCookies and CFLocation
All,
I know it says in the
Yep there is all kinds of documentation on allaires site about that.
If you go to their knowledge base and search on cookies you will
see some suggestions. What I do is set a session throw
them to the front page (after log in) and then set the cookie there.
-Original Message-
From:
This is a very old VERY documented issue. Allaire has documented this, and
has stated that it is the intended behavior.
Michael J. Sheldon
Internet Applications Developer
Phone: 480.699.1084
http://www.desertraven.com/
PGP Key Available on Request
-Original Message-
From: Tariq Ahmed
You can also cfinclude a file with a meta redirect.
-Original Message-
From: Kelly Matthews [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 19, 2000 12:07 PM
To: '[EMAIL PROTECTED]'
Subject: RE: CFCOOKIES and CFLOCATION
Yep there is all kinds of documentation on allaires site about
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--_=_NextPart_001_01BFAA39.D9B0E060
Content-Type: text/plain;
charset="iso-8859-1"
You cannot use cfcookie and cflocation on the same page because
10 matches
Mail list logo