Hi All,
i'm building a website with a login form, it start a session if the username & passsword entered are correct and jump to the next page.
But when i hit the back button won't go back to the initial page, gives an error:
"Data Missing
This document resulted from a POST operation and has expired from the cache. If you wish you can repost the form data to recreate the document by
pressing the reload button."
this is the parts of the code:
page1.php:
<?
....
....
if($id != 0){
session_start();
$verified_user=$id;
session_register("verified_user");
include("http://127.0.0.1/page2.php");
}
...
..
?>
page2.php:
<?
...
..
session_start();
// rest of code
...
..
?>
There is any missing code in the 2 pages? or something else?
Thanx in advance for any help.
Fat