Question
Difference between Application Scope and Session Scope
I have been strugling with disappearing sessions. Can some
one explain to me the big difference b/w Session Variables
and Application Variables? Below is my code
<cfif IsDefined("url.referer")>
<cflock scope = "Session" timeout = "30" type = "Exclusive">
<CFSET session.referer= #url.referer#>
</cflock>
</cfif>
The main purpose if to track where user is coming from and passed through the Url below is what I have in my application.cfm
<cfparam name= "Session.referer" default="">
But for some reason when the user clicks on a form that is stored in another folder the session variables disappears.
and Application Variables? Below is my code
<cfif IsDefined("url.referer")>
<cflock scope = "Session" timeout = "30" type = "Exclusive">
<CFSET session.referer= #url.referer#>
</cflock>
</cfif>
The main purpose if to track where user is coming from and passed through the Url below is what I have in my application.cfm
<cfparam name= "Session.referer" default="">
But for some reason when the user clicks on a form that is stored in another folder the session variables disappears.
