Done both to be on the safe side!

I wish they'd document this.  I suppose it makes sense if you think about
it, but it's not clear that you can't set a cookie like any other CF
variable and expect it to work.

Oh well, we all know now!

Thanks

Paul

> -----Original Message-----
> From: Rob Keniger [mailto:[EMAIL PROTECTED]]
> Sent: 15 October 2000 01:41
> To: CF-Talk
> Subject: Re: Cookies and CFLOCATION
>
>
> on 10/15/00 9:07 AM, Reed Powell at [EMAIL PROTECTED] wrote:
>
> > Yep, you cannot use a CFLOCATION after trying to set a cookie
> (actually it's
> > the other way around), so instead of using the CFLOCATION, use this:
> >
> > <script language="javascript">
> > document.location="pageyouwanttogoto";
> > </script>
> >
> > This executes on the browser, which means that the cookie will
> get set.  If
> > you're not setting a cookie, use CFLOCATION because it's faster
> (no trip to
> > the browser and back).
>
> This works well unless the user has javascript turned off. Best
> to also add
> a Reresh meta tag to the head section of the page:
>
> <meta http-equiv="refresh" content="0;URL=nextpage.cfm">
>
> HTH
>
> --
>
> Rob Keniger
>
> big bang solutions
>
> <mailto:[EMAIL PROTECTED]>
> <http://www.bigbang.net.au>
>
> ------------------------------------------------------------------
> ------------
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> 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.


------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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