|
|
|
Site Admin
|
|
|
| Posts: 18 |
|
| Joined: 10 Mar 2005 |
|
Posted: Wed Jul 02, 2008 9:08 pm Post subject: Web page expired fix. |
|
|
I have come up with a nice fix to a common problem.
problem: You have a form that is using post method and you can click the browser back button without getting a Web page expired message.
Fix: add this snippet to the top most part of your php page.]
<?
session_start();
ini_set('session.cache_limiter', 'private');
header('Cache-Control: private');
?> |
|