sessions management

Ads
 

sessions management

I have a problem with the session management of my applcation deployed in tomcat. in fact, my application allows only one session to a login / password given.

I then add in the database a flag for each user (isConnected).

if the user logs on I set my flag to 1, if he logs off I set my flag to null using a SessionListener.

in a normal scenario,normal connection / disconnection , it works very well, by cons in the case of a disconnection

abnormal (stop the process of the browser or shutdown the machine), I can not detect the end of the session and I have to wait for the TimeOut.

so if the user reconnects, he will be blocked (a session already exists for this account).

I work with Tomcat 5.5, Servlet server side and client side applets.

thank you for your help.

View Answers

Ads









Related Tutorials/Questions & Answers:
sessions management
sessions management  I have a problem with the session management of my applcation deployed in tomcat. in fact, my application allows only one session to a login / password given. I then add in the database a flag for each user
Management
Management  Hi, Can anyone give me full details of Management? Thanks   Hi, Please see the thread What is management? Thanks
Advertisements
Sessions
sessions
sessions
sessions
sessions
ModuleNotFoundError: No module named 'sessions'
ModuleNotFoundError: No module named 'sessions'  Hi, My Python... 'sessions' How to remove the ModuleNotFoundError: No module named 'sessions... to install padas library. You can install sessions python with following
ModuleNotFoundError: No module named 'active-sessions'
ModuleNotFoundError: No module named 'active-sessions'  Hi, My... named 'active-sessions' How to remove the ModuleNotFoundError: No module named 'active-sessions' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'dj-sessions'
ModuleNotFoundError: No module named 'dj-sessions'  Hi, My Python... 'dj-sessions' How to remove the ModuleNotFoundError: No module named 'dj-sessions' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'dj-sessions'
ModuleNotFoundError: No module named 'dj-sessions'  Hi, My Python... 'dj-sessions' How to remove the ModuleNotFoundError: No module named 'dj-sessions' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'Flask-Sessions'
ModuleNotFoundError: No module named 'Flask-Sessions'  Hi, My... named 'Flask-Sessions' How to remove the ModuleNotFoundError: No module named 'Flask-Sessions' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'lmdb-sessions'
ModuleNotFoundError: No module named 'lmdb-sessions'  Hi, My... 'lmdb-sessions' How to remove the ModuleNotFoundError: No module named 'lmdb-sessions' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'sessions-telethon'
ModuleNotFoundError: No module named 'sessions-telethon'  Hi, My... named 'sessions-telethon' How to remove the ModuleNotFoundError: No module named 'sessions-telethon' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'telethon-sessions'
ModuleNotFoundError: No module named 'telethon-sessions'  Hi, My... named 'telethon-sessions' How to remove the ModuleNotFoundError: No module named 'telethon-sessions' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'telethon-sessions'
ModuleNotFoundError: No module named 'telethon-sessions'  Hi, My... named 'telethon-sessions' How to remove the ModuleNotFoundError: No module named 'telethon-sessions' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'tequila-sessions'
ModuleNotFoundError: No module named 'tequila-sessions'  Hi, My... named 'tequila-sessions' How to remove the ModuleNotFoundError: No module named 'tequila-sessions' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'tequila-sessions'
ModuleNotFoundError: No module named 'tequila-sessions'  Hi, My... named 'tequila-sessions' How to remove the ModuleNotFoundError: No module named 'tequila-sessions' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'turpial-sessions'
ModuleNotFoundError: No module named 'turpial-sessions'  Hi, My... named 'turpial-sessions' How to remove the ModuleNotFoundError: No module named 'turpial-sessions' error? Thanks   Hi, In your
Learn Management
Learn Management  Hi, How to learn Management online? Thanks   Hi, You can learn management at Management tutorials section. Thanks
memory management
memory management  memory management in java
attendance management
VB attendance management software  i want source code for attendance management system in vb.net.
attendance management
attendance management software in Visual Basic  i want source code for attendance management system in vb.net.
attendance management
How to develop a attendance management software  i want source code for attendance management system in vb.net.
attendance management
Java attendance management application  i want source code for attendance management system in vb.net.
attendance management
attendance management application  i want source code for attendance management system in vb.net.
What is Management?
What is Management?  Hi, I am beginner in the software Industry. Can anyone tell about Management. I want to know What is Management? Thanks
ModuleNotFoundError: No module named 'cassandra_flask_sessions'
ModuleNotFoundError: No module named 'cassandra_flask_sessions'  Hi...: No module named 'cassandra_flask_sessions' How to remove the ModuleNotFoundError: No module named 'cassandra_flask_sessions' error? Thanks  
ModuleNotFoundError: No module named 'django-analyze-sessions'
ModuleNotFoundError: No module named 'django-analyze-sessions'  Hi...: No module named 'django-analyze-sessions' How to remove the ModuleNotFoundError: No module named 'django-analyze-sessions' error? Thanks   
ModuleNotFoundError: No module named 'django-cassandra-sessions'
ModuleNotFoundError: No module named 'django-cassandra-sessions'  Hi...: No module named 'django-cassandra-sessions' How to remove the ModuleNotFoundError: No module named 'django-cassandra-sessions' error? Thanks  
ModuleNotFoundError: No module named 'django-cookie-sessions'
ModuleNotFoundError: No module named 'django-cookie-sessions'  Hi...: No module named 'django-cookie-sessions' How to remove the ModuleNotFoundError: No module named 'django-cookie-sessions' error? Thanks   Hi

Ads