You don't  have a type attribute in your cflock -- could it not be setting
it at all because of this?

<Cflock scope="SESSION" timeout="15" type="exclusive">
<cfset session.localads = 1>
</cflock>


----- Original Message -----
From: "W Luke" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 7:31 AM
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