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/[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