note 51834 deleted from function.session-start by wez
| From: | wez@php.net | Date: | Sat, 30 Apr 2005 14:20:57 +0000 |
| Subject: | note 51834 deleted from function.session-start by wez | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-88793@lists.php.net to get a copy of this message | ||
Note Submitter: Jose Cavieres
----
For the problem of session lost after of redirect with header location...
Try with this:
<?
session_start();
$_SESSION['mySession'] = "hello";
header ("Location: xpage.php");
exit(); //This sentence do the magic
?>