Results 1 to 2 of 2
- 05-23-2008, 06:13 PM #1Member
- Join Date
- May 2008
- Rep Power
Log out when the maxInactiveTime is reached.
I would like to display a message to the user (Clinet) stating that the session has been terminated when the session is closed due to MaxInactiveTime. At present it is set to 600 seconds. I am using JPS for the client and Java for the server with Tomcat 5.5 as the application server.
I have no idea as to how to even get started. I could use some detailed help please.
- 05-24-2008, 01:19 AM #2
Here are some random thoughts...
What I understand is you want to push some kind of message from the server to the client. Keep in mind your JSP is still on the server. the output of the JSP goes on the client. Since HTTP doesn't support this kind of communication it is pretty hard to achieve with communication from the server. You might try to poll the server with AJAX but that actually makes your connection active again.
I am not sure this is actually possible. If you manage to do it let me know how.Daniel @ [www.littletutorials.com]
Language is froth on the surface of thought
- By ashu261 in forum Threads and SynchronizationReplies: 1Last Post: 04-23-2008, 07:24 PM
- By ashu261 in forum Advanced JavaReplies: 0Last Post: 02-04-2008, 08:45 AM