capik79
06-15-2005, 12:26 AM
Hi Guys,
Do anyone know hoe to trigger BACk button. I mean if we click a back button at IE , the previous page will identify it come from the BACK button. Because i want to kill the session if user hit the back button or make it expired.
Currently i'm using this code :
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<cfheader name="expires" value="#dateformat(now(), 'dd mmm yyyy')# #timeformat(now(), 'hh:mm:ss')# GMT">
<cfheader name="pragma" value="no-cache">
<cfheader name="cache-control" value="no-cache, no-store, must-revalidate">
and the result is not well function. Only working on certain page. Pls help me I got a dateline for this.
Million of thanks
Regards,
Shaffiq
Do anyone know hoe to trigger BACk button. I mean if we click a back button at IE , the previous page will identify it come from the BACK button. Because i want to kill the session if user hit the back button or make it expired.
Currently i'm using this code :
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<cfheader name="expires" value="#dateformat(now(), 'dd mmm yyyy')# #timeformat(now(), 'hh:mm:ss')# GMT">
<cfheader name="pragma" value="no-cache">
<cfheader name="cache-control" value="no-cache, no-store, must-revalidate">
and the result is not well function. Only working on certain page. Pls help me I got a dateline for this.
Million of thanks
Regards,
Shaffiq