Welcome Guest, Not a member yet? Register   Sign In
redirect and come back of my navigator
#10

[eluser]InsiteFX[/eluser]
Ok, so now you are saying that you are clicking on the back buttom which means your browser is using the history cache!

You need to set your pages to use a no cache header! Here is a quick way to try out but it doe's not work in all broswers.

Add this to your head section in your html page:
Code:
<?php
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
?>

<head>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
</head>

// Fix for IE Browsers add this after your </body> tag!
</body>
<head>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
</head>
</html>

This is because IE Broswers will not see the first one!

InsiteFX


Messages In This Thread
redirect and come back of my navigator - by El Forum - 04-10-2011, 10:55 AM
redirect and come back of my navigator - by El Forum - 04-10-2011, 11:07 AM
redirect and come back of my navigator - by El Forum - 04-10-2011, 11:35 AM
redirect and come back of my navigator - by El Forum - 04-10-2011, 11:51 AM
redirect and come back of my navigator - by El Forum - 04-10-2011, 12:26 PM
redirect and come back of my navigator - by El Forum - 04-10-2011, 12:50 PM
redirect and come back of my navigator - by El Forum - 04-10-2011, 12:54 PM
redirect and come back of my navigator - by El Forum - 04-10-2011, 01:03 PM
redirect and come back of my navigator - by El Forum - 04-10-2011, 01:17 PM
redirect and come back of my navigator - by El Forum - 04-10-2011, 01:26 PM
redirect and come back of my navigator - by El Forum - 04-10-2011, 02:04 PM
redirect and come back of my navigator - by El Forum - 04-10-2011, 07:49 PM
redirect and come back of my navigator - by El Forum - 04-11-2011, 02:39 AM
redirect and come back of my navigator - by El Forum - 04-11-2011, 05:23 AM
redirect and come back of my navigator - by El Forum - 04-11-2011, 05:52 AM
redirect and come back of my navigator - by El Forum - 04-11-2011, 05:56 AM
redirect and come back of my navigator - by El Forum - 04-11-2011, 05:57 AM
redirect and come back of my navigator - by El Forum - 04-11-2011, 05:58 AM
redirect and come back of my navigator - by El Forum - 04-11-2011, 05:58 AM
redirect and come back of my navigator - by El Forum - 04-11-2011, 06:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB