I don't get it everytime I try to do an output on this session variable I
get an error like it was not initialized!! Any help would be greatly
appreciated. I am using cfserver 4.5 on solaris 5.6
What am I doing wrong? here is my application.cfm code
<CFAPPLICATION NAME="Score"
CLIENTMANAGEMENT="Yes"
CLIENTSTORAGE="Cookie"
SETCLIENTCOOKIES="Yes"
SESSIONMANAGEMENT="Yes"
SESSIONTIMEOUT=#CreateTimeSpan(0,3,0,0)#
APPLICATIONTIMEOUT=#CreateTimeSpan(0,3,0,0)#
SETDOMAINCOOKIES="Yes"
>
<!---Sets the path to the application--->
<CFLOCK SCOPE="Session" TIMEOUT="30" TYPE="Exclusive">
<CFIF NOT IsDefined("session.path")>
<CFSET session.path = "/dev/Score">
</CFIF>
</CFLOCK>
Here I am trying to output it.
<cfoutput>
<cflock scope="session" timeout="10" type="READONLY">
<a href="#session.path#/Index.cfm?fuseaction=login">Login</a>
</cflock>
</cfoutput>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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