Some of our sites we hosted on Red Hat 7.3 Linux with CPanel are using php where we are using session variable.
As per testing sesssions are expiring soon afer creation of it or within 10 seconds..
Can any one tell me why & whats the solutions
We have experienced the same problem with a few websites on our Red Hat 7.3 server.
Sessions are lost randomly (sometimes everything works fine for a few minutes, sometimes every session is lost after a refresh/opening of new page).
I have tried several different settings in php.ini (only cookies, changing other values) but nothing works. We experienced these problems after an upgrade from PHP 4.3.2 to 4.3.3
I have heard that other programmers experienced the same problems, and that this was the case with an older version of PHP which showed up again in PHP 4.3.3
Google or the PHP bug list does not show an identical situation (many problems with sessions, but none like what I experience).
I have temporarily moved the sites to a Windows server, and there I have no problem at all (as far as I could test, I still keep a big eye on it).
I first suspected that it would be an Internet Explorer bug, but the same behaviour shows up in Mozilla 1.6
If anyone has an idea, I would greatly appreciate it.