CF-Talk List,

I am using the following code from Danny Davis, to kill the session 
when the user logs out (they click the Logout link):

<CFSCRIPT>StructClear(Session);</CFSCRIPT>
<CFCOOKIE NAME="CFID" VALUE="0" EXPIRES="NOW">
<CFCOOKIE NAME="CFTOKEN" VALUE="0" EXPIRES="NOW">

The login page sets Session.loggedIn = "1"

I have application pages throughout that test Session.loggedIn like 
so...

<cfif not isdefined("Session.loggedIn")>
   <cflocation url="login/login.cfm">
</cfif>


It works from direct URL browsing to internal pages, but if the user 
hits the back button, they can go back and see everything they did.


Is it possible to clear the history too so that the Back button also 
sends the user to the login page, after a logout?

please reply to [EMAIL PROTECTED] Thanks a trillion.







Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to