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

@ -78,7 +78,6 @@ foreach ($array as $value) {
$r.='</select>';
$r.= Dossier::hidden();
$r.='<input type="submit" value="Testons">';
$r.=HtmlInput::hidden('PHPSESSID',$_REQUEST['PHPSESSID']);
$r.='</form>';
echo $r;
@ -133,7 +132,6 @@ case 18:
Todo_List::test_me();
echo '<script src="js/todo_list.js"></script>';
echo '<form method="get">';
echo HtmlInput::hidden('phpsessid',$_REQUEST['PHPSESSID']);
echo dossier::hidden();
echo 'title : <input type="text" id="p_title"><br>';
echo 'desc : <input type="text" id="p_desc"><br>';