Hello,
I have folder A with the following php script:
?php
session_start();
$_SESSION['dummy']=10;
echo $_SESSION['dummy'];
?
in folder B (same level as A), there is
?php
session_start();
echo $_SESSION['dummy'];
?
when running the script in B, in can see the value 10. How can I make sure that
Jean-Christophe Roux wrote:
I have folder A with the following php script:
?php
session_start();
$_SESSION['dummy']=10;
echo $_SESSION['dummy'];
?
in folder B (same level as A), there is
?php
session_start();
echo $_SESSION['dummy'];
?
when running the script in B, in can see the value 10. How
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
: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:
?php
session_start();
$_SESSION['dummy']=10;
echo $_SESSION['dummy'];
?
in folder B (same level as A), there is
?php
session_start();
echo
: 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:
?php
session_start();
$_SESSION['dummy']=10;
echo $_SESSION['dummy'];
?
in folder B (same level as A), there is
?php
: [PHP] two php scripts with same $_SESSION variables
Jean-Christophe Roux wrote:
I have folder A with the following php script:
?php
session_start();
$_SESSION['dummy']=10;
echo $_SESSION['dummy'];
?
in folder B (same level as A), there is
?php
session_start();
echo $_SESSION
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:
scripts with same $_SESSION variables
Jean-Christophe Roux wrote:
I have folder A with the following php script:
?php
session_start();
$_SESSION['dummy']=10;
echo $_SESSION['dummy'];
?
in folder B (same level as A), there is
?php
session_start();
echo $_SESSION['dummy
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
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
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 sharing
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
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();
On Thu, May 24, 2007 6:23 am, Jean-Christophe Roux wrote:
Hello,
I have folder A with the following php script:
?php
session_start();
$_SESSION['dummy']=10;
echo $_SESSION['dummy'];
?
in folder B (same level as A), there is
?php
session_start();
echo $_SESSION['dummy'];
?
when
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 vented one
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
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 really, I just tend to be
17 matches
Mail list logo