R
rsford31
I have an application where users are assigned roles: control (can edi
items, delete items add items), update (can update items) and read (ca
only read content). When the user logs into the web app, thei
information is stored in a CurrentUsers table. The app checks thi
table to ensure that no one else has logged in with the same role. I
there is the user is put into read mode. So will happen if the use
does not properly log out which leaves their session in the database
The only way to be able to log in with the correct role is to eithe
have the service centre remove you from the table or to wait for th
session to time out. When the session times out, the session_end i
called and a delete statement is created to remove the user from th
current users table. The problem is, this doesn't always happen. If
user logs into the application, moves away from the site but keeps th
browser open, navigates back to the app, logs in again (will be in rea
mode) and then closes the browser, they will be in the table twice wit
the same sessionid. It seems like after the 15 mins has elapsed, the
are not removed from the the table. It's like the session_end is no
being fired. Is there anyway to check if it is being fired or if its m
delete statement? Thanks
items, delete items add items), update (can update items) and read (ca
only read content). When the user logs into the web app, thei
information is stored in a CurrentUsers table. The app checks thi
table to ensure that no one else has logged in with the same role. I
there is the user is put into read mode. So will happen if the use
does not properly log out which leaves their session in the database
The only way to be able to log in with the correct role is to eithe
have the service centre remove you from the table or to wait for th
session to time out. When the session times out, the session_end i
called and a delete statement is created to remove the user from th
current users table. The problem is, this doesn't always happen. If
user logs into the application, moves away from the site but keeps th
browser open, navigates back to the app, logs in again (will be in rea
mode) and then closes the browser, they will be in the table twice wit
the same sessionid. It seems like after the 15 mins has elapsed, the
are not removed from the the table. It's like the session_end is no
being fired. Is there anyway to check if it is being fired or if its m
delete statement? Thanks