Re: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Richard Lynch
On Thu, May 24, 2007 4:50 pm, Stut wrote: > Richard Lynch wrote: >> On Thu, May 24, 2007 7:44 am, Stut wrote: >>> Darren Whitlen wrote: Stut.. I've only been here one day, and I think I'm right in saying that your the one around here that gets annoyed really easy ;) >>> Not re

Re: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Stut
Richard Lynch wrote: On Thu, May 24, 2007 7:44 am, Stut wrote: Darren Whitlen wrote: Stut.. I've only been here one day, and I think I'm right in saying that your the one around here that gets annoyed really easy ;) Not really, I just tend to be a bit more vocal about it. I daresay every reg

Re: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Richard Lynch
On Thu, May 24, 2007 7:44 am, Stut wrote: > Darren Whitlen wrote: >> Stut.. >> I've only been here one day, and I think I'm right in saying that >> your >> the one around here that gets annoyed really easy ;) > > Not really, I just tend to be a bit more vocal about it. I daresay every regular has

Re: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Richard Lynch
On Thu, May 24, 2007 6:23 am, Jean-Christophe Roux wrote: > Hello, > I have folder A with the following php script: > session_start(); > $_SESSION['dummy']=10; > echo $_SESSION['dummy']; > ?> > in folder B (same level as A), there is > session_start(); > echo $_SESSION['dummy']; > ?> > when run

Re: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Stut
Jean-Christophe Roux wrote: Stut wrote >What you're wanting to do can be achieved by setting the path on the >session cookies. You may be able to do this by calling ini_set to change >session.cookie_path before calling session_start. ini_set('session.cookie_path', '/A/'); session_start(); Tha

Re: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Jean-Christophe Roux
Stut wrote >What you're wanting to do can be achieved by setting the path on the >session cookies. You may be able to do this by calling ini_set to change >session.cookie_path before calling session_start. ini_set('session.cookie_path', '/A/'); session_start(); That's a good solution; it works f

RE: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Ford, Mike
On 24 May 2007 13:22, Jean-Christophe Roux wrote: > Hello, > > Thank you for the answers. The issue is that the same codes > are in folders A and B. When they are run from two different > browsers, I am getting the behavior I 'd like to see with two > session ids being created and therefore no sh

Re: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Jochem Maas
Darren Whitlen wrote: > Stut wrote: ... > > Stut.. > I've only been here one day, and I think I'm right in saying that your > the one around here that gets annoyed really easy ;) when he goes quiet - that's when it's time to worry ;-) -- PHP General Mailing List (http://www.php.net/) To unsub

RE: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Edward Kay
> Stut.. > I've only been here one day, and I think I'm right in saying that your > the one around here that gets annoyed really easy ;) I don't think Stut gets annoyed more than any of the others on this list. Please remember though that a) Stut's answers tend to be very high quality and b) Top

Re: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Stut
Darren Whitlen wrote: Stut.. I've only been here one day, and I think I'm right in saying that your the one around here that gets annoyed really easy ;) Not really, I just tend to be a bit more vocal about it. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Darren Whitlen
sday, May 24, 2007 7:34:24 AM Subject: Re: [PHP] two php scripts with same $_SESSION variables Jean-Christophe Roux wrote: > I have folder A with the following php script: > session_start(); > $_SESSION['dummy']=10; > echo $_SESSION['dummy']; > ?> >

Re: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Stut
007 7:34:24 AM Subject: Re: [PHP] two php scripts with same $_SESSION variables Jean-Christophe Roux wrote: > I have folder A with the following php script: > session_start(); > $_SESSION['dummy']=10; > echo $_SESSION['dummy']; > ?> > in fold

Re: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Darren Whitlen
ral@lists.php.net Sent: Thursday, May 24, 2007 7:34:24 AM Subject: Re: [PHP] two php scripts with same $_SESSION variables Jean-Christophe Roux wrote: I have folder A with the following php script: in folder B (same level as A), there is when running the script in B, in can see the value 10. Ho

Re: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Jean-Christophe Roux
y, May 24, 2007 7:34:24 AM Subject: Re: [PHP] two php scripts with same $_SESSION variables Jean-Christophe Roux wrote: > I have folder A with the following php script: > session_start(); > $_SESSION['dummy']=10; > echo $_SESSION['dummy']; > ?> > in folde

Re: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Paul Scott
On Thu, 2007-05-24 at 04:23 -0700, Jean-Christophe Roux wrote: > when running the script in B, in can see the value 10. How can I make sure > that the $_SESSION['dummy'] is not shared between the two scripts? I could > change the name but that would not be convenient. > I think you are missing

Re: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Stut
Jean-Christophe Roux wrote: I have folder A with the following php script: in folder B (same level as A), there is when running the script in B, in can see the value 10. How can I make sure that the $_SESSION['dummy'] is not shared between the two scripts? I could change the name but that wou