note 64781 deleted from function.session-start by bjori
| From: | bjori@php.net | Date: | Thu, 20 Apr 2006 18:36:22 +0000 |
| Subject: | note 64781 deleted from function.session-start by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-108848@lists.php.net to get a copy of this message | ||
Note Submitter: john at manifestinteractive dot com
Reason: bad code
----
If your session's aren't carrying over to the next page when calling
header("Location: ...") Try making your links relative and not absolute. For example,
change:
<?php header("Location: http://www.mysite.com/mynextpage.php");
?>
to:
<?php header("Location: mynextpage.php"); ?>