Just to let you know, you can also setup a request structure for each of
your session variables and duplicate the values in the
application.cfm/app_globals.cfm file. 

i.e.

<cflock ...>
        <cfset request.userinfo.member_id = duplicate(session.member_id)>
</cflock>

That way you only have to lock your session vars once.. Any comments or
further explainations on this?

Darryl Lyons

-----Original Message-----
From: Nick Betts [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 07, 2000 9:30 PM
To: CF-Talk
Subject: RE: session variables


Ensure that wherever you reference or set session variables that you lock
them by enclosing the code with:
<CFLOCK TIMEOUT="30" NAME="#Session.SessionID#" TYPE="ReadOnly">
your code
</CFLOCK>

regards,
Nick Betts
PoulterNet
Leeds
UK.

-----Original Message-----
From: Dominic J. Doucet-Lorang [mailto:[EMAIL PROTECTED]]
Sent: 07 December 2000 11:21
To: CF-Talk
Subject: session variables


I am getting a strange occurrences with session variables on a project.  On 
some systems that login to the project it looses the session variables and 
on others it does not loose any of the session variables.   Anyone have any 
ideas?

Dominic
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to