Re: php session not persisting
| From: | Jason Wong | Date: | Tue, 03 Jun 2003 20:45:46 +0000 |
| Subject: | Re: php session not persisting | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150069@lists.php.net to get a copy of this message | ||
On Wednesday 04 June 2003 04:08, Eric D. wrote:
> Thanks. I'm using PHP-4.3.1.
That's good, so again ...
> > If you're using PHP > 4.1.0 then you ought to be using $_SESSION for all
> > your session needs -- see manual for examples.
Reiterate, read: manual > Session handling functions
> The problem is not with $_SESSION. I used
> session_is_registered("sess_var"); to check from the second script and
> cannot see the variable("sess_var"). Can anyone tell me why?
You're not supposed to mix session_is_registered() (and friends) when using
$_SESSION.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
It's later than you think, the joint Russian-American space mission has
already begun.
*/