If the page cflocated FROM is the first page accessed in that domain, then
the the CFID and CFTOKEN will not be defined, as they are stored by CF in a
a cookie, and CFLOACTION prevents the cookie from being written.

You may be able to get round this by using addtoken="YES" in the cflocation
tag.

HTH

Dan

-----Original Message-----
From: W Luke [mailto:[EMAIL PROTECTED]]
Sent: 03 July 2001 12:32
To: CF-Talk
Subject: cflocation killing session vars


Hi,

I usually use Client variables in this application, but in this instance I
need to use a session variable which will then be killed off when the
browser closes.  Basically I have something like this setup:

<Cflock scope="SESSION" timeout="15">
<cfset session.localads = 1>
</cflock>
<cflocation url="#new_address#" addtoken="no">

When the user is taken #new_address#, session.localads doesn't exist - how
come?

Thanks

--
Will
new media discussion for Berkshire -=- http://bnm.lukrative.com
local classifieds -=- http://www.localbounty.com
e: [EMAIL PROTECTED]  icq: 31099745
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to