note 10440 deleted from function.session-start by jimw

From: Date: Fri, 07 Dec 2001 20:25:06 +0000
Subject: note 10440 deleted from function.session-start by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-21895@lists.php.net to get a copy of this message
I've just spent ages trying to figure out why my session variables weren't been carried over from one page to another. The reason, it turned out, was due to the way in which I referenced the next page. For example: <A HREF="http://www.somewhere.com/nextpage.php">Click here</A> resulted in a new session starting in nextpage.php - not what I wanted (since all my orginal variables were lost)! Using relative addressing works OK though: <A HREF="nextpage.php">Click here</A> Note this is only of interest when using cookies (hence I didn't bother with SID in above examples).

« previous php.notes (#21895) next »