Remove $_REQUEST[PHPSESSID] it is now replaced by the cookie

a flag in .htaccess must be set
php_flag session.use_only_cookies on
php_flag session.use_cookies 1
This commit is contained in:
Dany De Bontridder 2010-05-11 23:30:03 +00:00
parent b4186b3ca0
commit 2059ddb70e
82 changed files with 174 additions and 314 deletions

View file

@ -41,7 +41,7 @@ if ( isset ($_POST["p_user"] ) ) {
$User=new User($rep);
$User->Check();
echo "<META HTTP-EQUIV=\"REFRESH\" content=\"0;url=user_login.php?PHPSESSID=" . $_REQUEST["PHPSESSID"] . "\">";
echo "<META HTTP-EQUIV=\"REFRESH\" content=\"0;url=user_login.php\">";
} else
{
@ -50,7 +50,7 @@ if ( isset ($_POST["p_user"] ) ) {
$User=new User($rep);
$User->Check();
echo "<META HTTP-EQUIV=\"REFRESH\" content=\"0;url=user_login.php?PHPSESSID=" . $_REQUEST["PHPSESSID"] . "\">";
echo "<META HTTP-EQUIV=\"REFRESH\" content=\"0;url=user_login.php\">";
// }
}
html_page_stop();