This week's book giveaway is in the Java in General forum. We're giving away four copies of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 and have ishori Sharan & Adam L Davis on-line! See this thread for details.
Hello ALL, I am having my applet residing inside a jsp, with some buttons present on the jsp which open some different jsp from my ear deployed. Now i get into this weired problem of session timeout of my parent jsp where my applet is residing. So my problem is even when i start working on my applet, opening new panel from the applet, the main jsp page remains idle. And after a while when i try to click the buttons present on the jsp, it asks me to login again to the server, to access those pages. But my applet still works fine and i can continue working on it. Is there a way i can avoid this timeout of my jsp, for unlimited time, so i can still access the jsp from the button clicks.
Hello, how do i use the <session-timeout>. Am not sure if it will override my company secure login page settings with it, so that i can never timeout, even though the login policy should time me out. Can you please provide some more insight on this.
i've a problem something similar. i've a page that contains two jsps embedded in it. one jsp contains applet and the other jsp is the normal jsp.
the session timeout has been set to 15 mins. my problem starts here.
if i do nothing on the page, it logs me out. Perfect.
if i do some operations (there are some operations that can be done on the applet) on the applet part for more than 15 mins, it logs me out. Here lies the problem.
is there any way of capturing the user activity from the applet and convey the same to the container that the user is still using and accessing the page so that the user is not logged out ?
how can i implement session continuity from the applet ? Please help...
Please also note that we cannot increase the session timeout period because of security concerns.
The easiest way would probably be to include an invisible IFRAME along with the applet, which then refreshes itself periodically (say, every few minutes). That way the server would be accessed, and the session wouldn't time out for this page.
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop