Question
Loging out a user
Hi everyone, i have found in my application that when you
click on the Logout button it will log you out but if you click on
the back button of the browser instead of relocating you to the
login.cfm, It will show you all the history in the browser.
Any ideas of how to get rid of this problem?
<cfif isDefined('URL.logout')>
<!--- Ends session --->
<CFLOCK SCOPE="Session" TYPE="Exclusive" TIMEOUT="10">
<CFSET StructClear(Session)>
</CFLOCK>
<!---Redirects to login--->
<CFLOCATION url="/mcl_sistema/login.cfm" addtoken="no">
<cfelse>
Any ideas of how to get rid of this problem?
<cfif isDefined('URL.logout')>
<!--- Ends session --->
<CFLOCK SCOPE="Session" TYPE="Exclusive" TIMEOUT="10">
<CFSET StructClear(Session)>
</CFLOCK>
<!---Redirects to login--->
<CFLOCATION url="/mcl_sistema/login.cfm" addtoken="no">
<cfelse>
