Doing my first application using application.cfc.

Is this "safe"?

<cffunction name="onRequestStart" returntype="void">
    <cfargument name="request" required="true">

    <cfset session.foo = "bar">

</cffunction>

(I mean, I don't see any way to "var" the session, nor a way to pass
the user's session in. Is CF guaranteed to know what session the
request that onRequestStart is starting belongs to? What I'm actually
doing in that function is working fine on my dev machine with me as a
single user but I'm concerned about going to production.)


-- 
Jim Flannery
[EMAIL PROTECTED]






----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to