Share on Google+Share on Google+

flan frtlan
sessions management
0 Answer(s)      6 years and 2 months ago
Posted in : JSP-Servlet

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.

Ads

View Answers









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
Sessions in servlets
Sessions in servlets  What is the use of sessions in servlets?   The servlet HttpSession interface is used to simulate the concept that a person's visit to a Web site is one continuous series of interactions
Advertisements
jsp sessions - JSP-Servlet
jsp sessions  Hi, i am JSP sessions example and code.  using SessenListners
sessions - JSP-Servlet
sessions  how can we maintain sessions and using that particular session can we perform diffrent bussiness logic of any particular user
Management
Management  Hi, Can anyone give me full details of Management? Thanks   Hi, Please see the thread What is management? Thanks
php garbage collection sessions - PHP
php garbage collection sessions  i wanted to know more about the php garbage collection sessions.. how can i create and hold
Creating Hibernate Sessions and Transactions through Spring - AOP .
Creating Hibernate Sessions and Transactions through Spring - AOP .  Hi, I am facing some technical issues in creating the Hibernate Sessions... Sessions and Transactions are created using Spring-AOP when the control flows
Creating Hibernate Sessions and Transactions through Spring - AOP .
Creating Hibernate Sessions and Transactions through Spring - AOP .  Hi, I am facing some technical issues in creating the Hibernate Sessions... Sessions and Transactions are created using Spring-AOP when the control flows
Creating Hibernate Sessions and Transactions through Spring - AOP .
Creating Hibernate Sessions and Transactions through Spring - AOP .  Hi, I am facing some technical issues in creating the Hibernate Sessions... Sessions and Transactions are created using Spring-AOP when the control flows
Creating Hibernate Sessions and Transactions through Spring - AOP .
Creating Hibernate Sessions and Transactions through Spring - AOP .  Hi, I am facing some technical issues in creating the Hibernate Sessions... Sessions and Transactions are created using Spring-AOP when the control flows
Creating Hibernate Sessions and Transactions through Spring - AOP .
Creating Hibernate Sessions and Transactions through Spring - AOP .  Hi, I am facing some technical issues in creating the Hibernate Sessions... Sessions and Transactions are created using Spring-AOP when the control flows
Manage end-user state and understand performance tradeoffs of using HTTP sessions
performance tradeoffs of using HTTP sessions Prev Chapter 2. ... sessions A session is a series of requests.... Sessions allow applications running in a Web container to keep track
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
How to develop a 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
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.
attendance management
VB attendance management software  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
Project Management
Project Management  What is Project Management and how it useful in managing a software project. What all certification courses are available for Software Project Management? How to become a good project manager? Thanks
Event management
Event management   Hi, I want event management application like maintaining email notifications while task creation and update in broader way using spring java
library management
library management   i need java script code for library management system with html
library management
library management   i need java script code for library management system with html
library management
library management   i need java script code for library management system with html
library management
library management   i need java script code for library management system with html
Tutorials   
Java Spring Hibernate Struts Training fat image from db fat image from db fat image from db fat image from db unable to get value returned from javascript variable in page How to change image size before adding to mysql using jsp Design a registration.jsp page with input for user registration details Cart Quantity jsp servlet coding issue servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? image pdf marking pdf marking Multiple image upload using JSP Read code from excel sheet and upload into database using JSP Student java about search engine Convert BLOB to PDF and save it to a location how to copy files from remote to local machine using SFTP SSL in java? Like Team viewer Socket and Servert -Jsp how to copy files from remote location to local using java? How To Store Multilple Images In MySQL database dynamically with image uploader and then retrieve them in image gallery using java how to create SOAP based web service in java? how to fetch data from mysql database table and draw a bar chart on that data using in jsp how to create users in LDAP using java? how to authenticate user using TIVOLI api in java? how to create users using IBM Tivoi API in jsp/servelet? Java/J2ee Please explain this code as many packages and classes are unknown to me .! how to download the uploaded folder files using jsp Login Query image is display from path of mysql database please reply the code to store dynamic fields in database? Reloading issue in jsp How to get Button Id ? calling one jap page from another jsp page login login Problem to get connection from DAO class to JDBC Page Loading Time Fix table's column's name row(1st row of the table) so that it does not move up when the table is scrolled up to view more rows below Sending hidden values

Ads

 
Advertisement null

Ads