File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
Session retention
MaheshS Kumbhar
Ranch Hand
Joined: Sep 24, 2009
Posts: 188
posted
May 25, 2010 08:42:45
0
If user is logged in with active session but closes the browser abruptly. My question is, how long the session will remain active because there's no signal for destruction of session?
I am slow but sure
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56157
13
I like...
posted
May 25, 2010 09:15:46
0
Until it expires.
[
Smart Questions
] [
JSP FAQ
] [
Books by Bear
] [
Bear's FrontMan
] [
About Bear
]
Puja Mantri
Greenhorn
Joined: Sep 24, 2009
Posts: 15
posted
May 26, 2010 00:18:46
0
session expires after the session timeout period mentioned in the web.xml. The value is specified in minutes. Default session timeout is 30 mins.
Puja Mantri
Greenhorn
Joined: Sep 24, 2009
Posts: 15
posted
May 26, 2010 00:31:37
0
or you can invalidate the session on Window close event.
ramprasad madathil
Ranch Hand
Joined: Jan 24, 2005
Posts: 489
I like...
posted
May 26, 2010 03:04:38
0
or you can invalidate the session on Window close event.
With Firefox, that's quite a pain actually.
cheers,
ram.
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Session retention
Similar Threads
session management -session not destroying automatically
jsp-page_context_failure
Can we access lazy collection from jsp page
Httpsesion Listener is not working properly?
listing all online users on a JSP page
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter