Php Sessions
| From: | Daniel Svanb�ck | Date: | Sat, 04 May 2002 09:40:48 +0000 |
| Subject: | Php Sessions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-96027@lists.php.net to get a copy of this message | ||
Hi
I have a problem. I can't send the session_id to the next page. It worked
before (when I had an old version of php, now I have 4.2.0). It can send the
session_id() if it's a link, but not a header(). If it is a header I have to
do this:
define('MYSID', session_name().'='.session_id());
header('Location: ../index.php?'.zOLSID);
Do I have to add this to every header()? Or is there a easyier way. I have
global variables = on.
//Daniel