Hi there...
I've got a problem where a normal string variable loses its value after
session_start() is called. The funny thing is, that this only happens
for some people, and they are using IE6, but it does not happen with all
versions of IE6. I've tested myself only with Mozilla and IE5, but the
problem does not occur for me.
I've got a username stored in $user, which is obtained from the $_POST
variable, but after session_start() is called $user is empty, but the
username still is in $_POST['username'].
PHP version is 4.3.1 on Apache on a linux server.
Then another problem I have is being logged out from a session after a
certain length of inactivity it would seem. I've only noticed this on
a server which is running PHP 4.3.3/Apache 1.3.28/linux. It's about
after half an hour of inactivity that I get logged out. I've checked
the cookie and it is set to expire on session/browser exit. I haven't
noticed this behavior on my own server also running PHP 4.3.3. I also
checked the PHP session configuration and it's the same on both servers.
So, any ideas what could be causing this...?
Thanks for any help,
Daniel Bengs
I've got a problem where a normal string variable loses its value after
session_start() is called. The funny thing is, that this only happens
for some people, and they are using IE6, but it does not happen with all
versions of IE6. I've tested myself only with Mozilla and IE5, but the
problem does not occur for me.
I've got a username stored in $user, which is obtained from the $_POST
variable, but after session_start() is called $user is empty, but the
username still is in $_POST['username'].
PHP version is 4.3.1 on Apache on a linux server.
Then another problem I have is being logged out from a session after a
certain length of inactivity it would seem. I've only noticed this on
a server which is running PHP 4.3.3/Apache 1.3.28/linux. It's about
after half an hour of inactivity that I get logged out. I've checked
the cookie and it is set to expire on session/browser exit. I haven't
noticed this behavior on my own server also running PHP 4.3.3. I also
checked the PHP session configuration and it's the same on both servers.
So, any ideas what could be causing this...?
Thanks for any help,
Daniel Bengs
Comment