Celestial
11-07-2011, 04:17 PM
I was wondering, how would you destroy a session of the first person if someone logged into the same account of a certain website using another browser on the same computer or a different computer all together?
|
||||
|
View Full Version : Resolved Session destroying. Celestial 11-07-2011, 04:17 PM I was wondering, how would you destroy a session of the first person if someone logged into the same account of a certain website using another browser on the same computer or a different computer all together? BubikolRamios 11-07-2011, 05:18 PM This has nothing to do wth MYSQL, but: 1. Jou would need to store user_id & session_id into app global variable (array) 2. check when new user logs in 3. at least in java: oldSession.setMaxInactiveInterval(1) that would destroy old sessin in a second. |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum