note 38493 added to function.session-start

From: Date: Wed, 24 Dec 2003 03:37:19 +0000
Subject: note 38493 added to function.session-start
Groups: php.notes 
Request: Send a blank email to php-notes+get-62398@lists.php.net to get a copy of this message
For those of you who want to remove PHPSESSID from all of the links and URL. I have written a solution. if ($_GET[PHPSESSID]) header('Location: '.ereg_replace('[&|\?]PHPSESSID=[^&]+','',$REQUEST_URI)); ---- Manual Page -- http://www.php.net/manual/en/function.session-start.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38493 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38493&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38493&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#62398) next »