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

@ -69,7 +69,6 @@ $User->can_request(PARRAP,1);
$cn=new Database($gDossier);
$nocookie='&PHPSESSID='.$_REQUEST['PHPSESSID'];
$rap=new Acc_Report($cn);
if ( isset ($_POST["del_form"]) ) {
@ -154,7 +153,7 @@ if ( isset ($_REQUEST["action"]) ) {
echo HtmlInput::submit("del_form",_("Effacement"));
$w=new IButton();
$w->name="export";
$w->javascript="report_export('".$_REQUEST['PHPSESSID']."','".$gDossier."','".$rap->id."')";
$w->javascript="report_export('".$gDossier."','".$rap->id."')";
$w->label='Export';
echo $w->input();
echo '<span id="export_link"></span>';