Re: Sessions
| From: | Richard Lynch | Date: | Thu, 16 Jun 2005 01:04:18 +0000 |
| Subject: | Re: Sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-217044@lists.php.net to get a copy of this message | ||
On Wed, June 15, 2005 10:38 am, Brian D. McGrew said:
> I call session_start() on all my pages and then <? echo session_id(); ?>
> and everything is the same from all the pages. However if I stuff a
> variable into $_SESSION it's never transferred between pages. So if I
> do a <? $_SESSION["Username"] = "Brian"; ?> and then go to another
> page
> and say <? echo $_SESSION["Username"]; ?> it comes back blank.
>
> It doesn't seem to matter if I enclose the Username in double quotes """
> or single quotes ''' or nothing; I have no data. But like I said, the
> session id is being passed around just fine.
Check your php.ini settings to be sure the ECGPS settings haven't revoked
$_SESSION getting populated...
It's pretty odd for somebody to do that, but it would fit the symptoms....
--
Like Music?
http://l-i-e.com/artists.htm