Session problem
Posted: Mon Mar 22, 2010 4:24 am
Hi,
I would like some help to find a solution for an error with a site that we've built.
The site's built using PHP 5 / MySQL 5.
The problem is the following:
We've built a portal for a customer who reports that he gets logged out randomly after just a few seconds/minutes. He just clicks around on the menu, and suddenly gets logged out. The session just 'dies'.
The problem seems to occure regardless server (we have tried the system on several webservers / webhosting companies).
After searching for the error, we haven't been able to assign the problem either to the server (where the system is normally hosted) nor to the client.
The reasons why we don't belive it's server related error:
- The problem emerges regardless to the server.
- Other customers' configurtation of the system is working perfect. They never get's logged out. We have even let the current customer try some of these other sites - and they are working. He doesn't get logged out. This implies that it should be something with the system (where we havent found any errors, see below):
The reasons why we don't belive it's system related error:
- We havent found anything in the system code that could cause a logout (such as a session_destroy(), which only exists in the file that handles the logout).
- Other configurations that other customers are using are working without problemt and we have never heard from them that this problem exists. Other customers are using as well different PC/Windows as Mac/Safari/Firefox configurations.
The reason why we don't belive it's client related error:
- The error seems to emerge with different computer configurations, although it's known that the error occurs with these configurations:
- Internet Explorer IE7+8
- Firefox (PC)
The system works error free using Safari and Firefox (Mac).
We are not using a firewall.
Best regards,
Patrik
I would like some help to find a solution for an error with a site that we've built.
The site's built using PHP 5 / MySQL 5.
The problem is the following:
We've built a portal for a customer who reports that he gets logged out randomly after just a few seconds/minutes. He just clicks around on the menu, and suddenly gets logged out. The session just 'dies'.
The problem seems to occure regardless server (we have tried the system on several webservers / webhosting companies).
After searching for the error, we haven't been able to assign the problem either to the server (where the system is normally hosted) nor to the client.
The reasons why we don't belive it's server related error:
- The problem emerges regardless to the server.
- Other customers' configurtation of the system is working perfect. They never get's logged out. We have even let the current customer try some of these other sites - and they are working. He doesn't get logged out. This implies that it should be something with the system (where we havent found any errors, see below):
The reasons why we don't belive it's system related error:
- We havent found anything in the system code that could cause a logout (such as a session_destroy(), which only exists in the file that handles the logout).
- Other configurations that other customers are using are working without problemt and we have never heard from them that this problem exists. Other customers are using as well different PC/Windows as Mac/Safari/Firefox configurations.
The reason why we don't belive it's client related error:
- The error seems to emerge with different computer configurations, although it's known that the error occurs with these configurations:
- Internet Explorer IE7+8
- Firefox (PC)
The system works error free using Safari and Firefox (Mac).
We are not using a firewall.
Best regards,
Patrik