JonathanMortimer
IS-IT--Management
- Sep 19, 2008
- 97
Hi,
I will state in advance that I do not have access to the code nor am I the developer, however it has come to me to investigate the problem none the less.
We run an in-house hta / PHP based database application, it is accessed via an internal IP address of the format 192.168.48.250/path_to/hta_script/start.hta. Users log in using their own unique username and password. I am told that it sets a session cookie which is programmed to last 8 hours. I have no experience in programming cookies, but here is what it leaves on a typical problem machine:
PHPSESSID
c6e3a77f4c99aeba477c034a33ad7d65
192.168.48.250/
1536
3045801600
30117900
3103694464
30117816
*
For the most part it works fine, but just a few random people seem to get randomly logged out for no reason, and it will keep on logging them out if they log back in on that session; it looks like it's something perculiar to their Windows user profile as logging in as them on a different machine does not show the problem, likewise if someone else logs into their problem machine using their own Windows profile they do not experience the problem. If a different person logs in to the database application using their own username and password, but does it on the problem-person's window login profile then the problem persists.
Then there is IE8 - after testing it appears to only affect people who have this installed. Roll back IE8 to IE7 or IE6 and the problem goes away immediately (after a reboot), re-install IE8 and the problem is back.
Hopefully this narrows it down to the user's profile and IE8, but beyond that I am clueless as to why it is happening. We have only a handful of people who are affected out of about 80 users, pretty much all of whome should have IE8 installed. It seems to move around though - one week it could be one person affected, next week another. I have tried setting IE8 to run all sites in Compatibility mode but this had no effect. I assume there is something in the IE8 back-end that is causing (or contributing to) the problem, not the IE8 browser front-end.
If anyone can shed any light on this I would be hugely greatful, it's causing such a headache for those who are affected, the only (temporary) fix so far has been to downgrade their browser or delete their Windows profile and create a new one, neither is a proper solution.
I do not know if it is to do with PHP, Windows (it has happened on XP Pro and 7 Ultimate), or IE8, but as I couldn't find an IE forum I have placed it here in case there is a known problem with cookies and IE8.
I will state in advance that I do not have access to the code nor am I the developer, however it has come to me to investigate the problem none the less.
We run an in-house hta / PHP based database application, it is accessed via an internal IP address of the format 192.168.48.250/path_to/hta_script/start.hta. Users log in using their own unique username and password. I am told that it sets a session cookie which is programmed to last 8 hours. I have no experience in programming cookies, but here is what it leaves on a typical problem machine:
PHPSESSID
c6e3a77f4c99aeba477c034a33ad7d65
192.168.48.250/
1536
3045801600
30117900
3103694464
30117816
*
For the most part it works fine, but just a few random people seem to get randomly logged out for no reason, and it will keep on logging them out if they log back in on that session; it looks like it's something perculiar to their Windows user profile as logging in as them on a different machine does not show the problem, likewise if someone else logs into their problem machine using their own Windows profile they do not experience the problem. If a different person logs in to the database application using their own username and password, but does it on the problem-person's window login profile then the problem persists.
Then there is IE8 - after testing it appears to only affect people who have this installed. Roll back IE8 to IE7 or IE6 and the problem goes away immediately (after a reboot), re-install IE8 and the problem is back.
Hopefully this narrows it down to the user's profile and IE8, but beyond that I am clueless as to why it is happening. We have only a handful of people who are affected out of about 80 users, pretty much all of whome should have IE8 installed. It seems to move around though - one week it could be one person affected, next week another. I have tried setting IE8 to run all sites in Compatibility mode but this had no effect. I assume there is something in the IE8 back-end that is causing (or contributing to) the problem, not the IE8 browser front-end.
If anyone can shed any light on this I would be hugely greatful, it's causing such a headache for those who are affected, the only (temporary) fix so far has been to downgrade their browser or delete their Windows profile and create a new one, neither is a proper solution.
I do not know if it is to do with PHP, Windows (it has happened on XP Pro and 7 Ultimate), or IE8, but as I couldn't find an IE forum I have placed it here in case there is a known problem with cookies and IE8.