A session variable created for one user session is not getting killed even when the client browser is being closed,
the reason i found was its writing cookies to the cookies.txt file of folder TemporaryInternetFiles in windows machine. This actually do not happen in conventional session variables and the cookies will be killed once the browser is closed when we do not give expires attribute.
i am using the following code.
<cflock timeout="30" name="#Session.SessionID#" type="exclusive">
<cfset session.login = "Yes">
<cfcookie name="CFID" value="#session.CFID#" expires="now">
<cfcookie name="CFTOKEN" value="#session.CFTOKEN#">
</cflock>
it is working fine once i remove the cookies from the system
plese help me in this
[sig][/sig]
the reason i found was its writing cookies to the cookies.txt file of folder TemporaryInternetFiles in windows machine. This actually do not happen in conventional session variables and the cookies will be killed once the browser is closed when we do not give expires attribute.
i am using the following code.
<cflock timeout="30" name="#Session.SessionID#" type="exclusive">
<cfset session.login = "Yes">
<cfcookie name="CFID" value="#session.CFID#" expires="now">
<cfcookie name="CFTOKEN" value="#session.CFTOKEN#">
</cflock>
it is working fine once i remove the cookies from the system
plese help me in this
[sig][/sig]