K
KB
my web application has user name and password, whenever
user logged in i set his status in database as 1 so that
only one user can logged at one time with same login and i
write a code to set status to 0 on logout menu, but if
session expired then status will remain 1, i have written
code to set staus to 0 in onSession_End sub but it not
work all the time. Sometimes it works and sometimes not.
So i m looking for an alternative way of doing it
user logged in i set his status in database as 1 so that
only one user can logged at one time with same login and i
write a code to set status to 0 on logout menu, but if
session expired then status will remain 1, i have written
code to set staus to 0 in onSession_End sub but it not
work all the time. Sometimes it works and sometimes not.
So i m looking for an alternative way of doing it