Summer Sale! All accounts are 50% off this week.

shan2590's avatar

How to update DB recorde before login session destroy?

User cannot log in to the same application using two browsers. Once user login to the application. I keep a record inside the DB user table (curr_loggedinstatus = 1) to identify this user already login. if browser cache clear or session time out user automatically sign out, But how can I update curr_loggedinstatus to 0 before session destroy?,

0 likes
1 reply

Please or to participate in this conversation.