I'm using the code inserted below, somehow it looks like it works only most of the times. Can somebody:
- tell me what the code exactly does.
- whether the code is correct / complete.
What I want is that when a browser is closed (or openened again, after closing), all session variables will be reset.
<!--- session variables are enabled and persist for 30-minute timeout period
If you close your browser before 30-minute is over and open it again you can
access the site. To avoid this problem just convert CFIDE and CFTOKEN variables in to
browser session cookies - when the browser is closed
they expire --->
<cflock scope="session" timeout= "30" type="EXCLUSIVE">
<cfcookie name="CFID" value="#session.CFID#">