Naveen Garg

Greenhorn
+ Follow
since Oct 07, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Naveen Garg

Use session.setMaxInactiveInterval(time in miliseconds) methods to set the time a session should exists.

Originally posted by Michael J. Makunas:
Is there a way to make objects that are stored in the session "expire" after a set amount of time even though the session is still valid? I know I could add some sort of time stamp to the data structure and check that timistamp the next time I retrieve the object from the session. What I really want is for these objects to remove themselves after a certain amount of time.

19 years ago
No, you can not do that. In fact I had also come across to the same situation. What I found is that you have to redirect or forward from calling applet/servlet only.

Originally posted by Ramiro Veramendi:
so, my question is that is it possible to have the applet to servlet communication just in one way (...just Applet --> Servlet)

19 years ago