RE: [PHP] php session not persisting

From: Date: Tue, 03 Jun 2003 12:47:15 +0000
Subject: RE: [PHP] php session not persisting
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-149949@lists.php.net to get a copy of this message
Do you have cookies enabled on your browser? If not then you will need to make sure that you compile or change your php.ini to reflect that (ie with trans-sid). ed -----Original Message----- From: Jason Wong [mailto:php-general@gremlins.biz] Sent: Tuesday, June 03, 2003 3:42 AM To: php-general@lists.php.net Subject: Re: [PHP] php session not persisting On Tuesday 03 June 2003 12:28, Eric D. wrote: > I have two very simple php scripts and the second srcipt is not seeing the > variables session_registered by the first script. > I'm running the latest version of php. And have both "register_globals" and > "track_vars" set to "ON". It's best to state the specific version of PHP you're using rather than just 'latest' (as it could mean different things to different people at different times). > Well, the first script prints out the session var fine, but not the second > one. What is wrong? Is there something else I overlooked? Thanks for your > help! If you're using PHP > 4.1.0 then you ought to be using $_SESSION for all your session needs -- see manual for examples. -- 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 ------------------------------------------ /* I have a map of the United States. It's actual size. I spent last summer folding it. People ask me where I live, and I say, "E6". -- Steven Wright */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#149949) next »