Hi Guys,
I am using sessions to store the login name and then retrieve it on
every page. Here are the details of the php settings.
1) I have PHP 4.2.2 installed on a Apache 1.3.27 server.
2) I have register_global s off.
3) I use $_session['loginname']= $loginname to store the loginname
into the session and then retrieve it on other pages using a
$HTTP_SESSION_V ARS['loginname'].
My problem is that sometimes, I am able to retrieve the loginname from
the session and sometimes I am not. When I am not able to get the
loginname, I refresh the page 3-4 times and the loginname shows up.
This happens on every page. Am I screwing up somewhere? Does this
depened on the speed of the server?
Thanks for your help.
I am using sessions to store the login name and then retrieve it on
every page. Here are the details of the php settings.
1) I have PHP 4.2.2 installed on a Apache 1.3.27 server.
2) I have register_global s off.
3) I use $_session['loginname']= $loginname to store the loginname
into the session and then retrieve it on other pages using a
$HTTP_SESSION_V ARS['loginname'].
My problem is that sometimes, I am able to retrieve the loginname from
the session and sometimes I am not. When I am not able to get the
loginname, I refresh the page 3-4 times and the loginname shows up.
This happens on every page. Am I screwing up somewhere? Does this
depened on the speed of the server?
Thanks for your help.
Comment