LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   javascript logging users out? (https://www.linuxquestions.org/questions/programming-9/javascript-logging-users-out-926945/)

secretlydead 02-01-2012 09:50 AM

javascript logging users out?
 
i've got a web page that is automatically logging users out.

I've set the php.ini timeout longer than it logs me out. And, when i suspend my computer to RAM, the session stays open the next day when i unsuspend the computer.

Based on that, I'm thinking that javascript is actually doing the logging out (rather than a session timeout). How can i tell what javascript scripts have run in the last hour or so, so I can find if there is a javascript script logging my users out?

Cedrik 02-01-2012 03:09 PM

How could javascript kill a php session ? By deleting PHPSESSID cookie maybe ?
But in this case, php add the session id in $_GET, no ?


All times are GMT -5. The time now is 08:15 PM.