Re: Sessions
| From: | Dave Alger | Date: | Wed, 09 Jul 2003 07:34:33 +0000 |
| Subject: | Re: Sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-154502@lists.php.net to get a copy of this message | ||
Kirk,
Thanks for the input.
I've never been certain about the "register_globals" setting. From what I
read I understood it that since I use the new method and have my dev site
set to off that it wouldn't be a problem.
As it turns out my dev site has globals OFF, test site ON and target site
ON. So I'm no closer to figuring that one out.
regards,
Dave
"Kirk Johnson" <kjohnson@zootweb.com> wrote in message
news:B11731D518B5D61183C700A0C98BE0D90258720D@chef...
> > This works fine on my development PC, (PHP v 4.3.1) and on
> > my primary test
> > site (PHP v4.2.2).
> > However when I try it on the target site (PHP v4.1.2) then I find that
> > immediately after starting the session everything works fine,
> > however when I
> > move to any other page the session information is lost and
> > I'm redirected to
> > log in again.
>
> Also check the "register_globals" setting in the various php.ini files. It
> is probably set to "off" on your dev and test sites, but may be set to
"on"
> on the target site.
>
> Kirk
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.497 / Virus Database: 296 - Release Date: 04/07/2003