Hi everyone,
Sorry, this might be a stupid question, but still.
Once upon a time I had done so my sessions were handled on all
subdomains of my website (shame on me for doing so!).
Now, when I comment out the line
session_set_cookie_params(0, /, .oire.org);
in my header file, I got an
Hi !!
I just begin with PHP( but is the same as ASP ) and testing some examples...
loock at the code:
Page 1- Session.php
?php
session_start();
$myvar = 1;
session_register(myvar);
?
html
head
meta http-equiv=Content-Type content=text/html; charset=windows-1252
meta name=GENERATOR
SID does not work unless you enable trans sid.
Regards,
--
Yasuo Ohgaki
Hassan Arteaga [EMAIL PROTECTED] wrote in message
7F548E90E63BD1118E4600609707771F8BEFAF@goliath">news:7F548E90E63BD1118E4600609707771F8BEFAF@goliath...
Hi !!
I just begin with PHP( but is the same as ASP ) and testing
: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 24 avril 2001 16:11
À : [EMAIL PROTECTED]
Objet : Re: [PHP] About sessions !!
SID does not work unless you enable trans sid.
Regards,
--
Yasuo Ohgaki
Hassan Arteaga [EMAIL PROTECTED] wrote in message
7F548E90E63BD1118E4600609707771F8BEFAF
]
Subject: RE: [PHP] About sessions !!
You should also check if register_globals is set to ON in your php.ini file.
Otherwise you can't access you session variable just with $myvar !!
And in your code you never increment $myvar, so even if it works, you'll
always get 1.
Regards,
Nicolas Guilhot
]
Subject: RE: [PHP] About sessions !!
ok ..register_globals are on !!
Ok $myvar always will be 1 ..but when a try to print it is empty !!!..It is
just a test about session.
Thanks Nicolas !!
-Original Message-
From: Nicolas Guilhot [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 24, 2001 11
On Tuesday 24 April 2001 17:00, Hassan Arteaga wrote:
Hi !!
I just begin with PHP( but is the same as ASP ) and testing some
examples...
loock at the code:
Page 1- Session.php
?php
session_start();
$myvar = 1;
session_register(myvar);
?
html
head
meta http-equiv=Content-Type
7 matches
Mail list logo