Answer Posted / kshama varshney
There are two ways---
1)When we set session time out in WEB.xml then session will
be automatically expire if nothing is happening after given
time period
2)if we are using "session.invalidate" function then after
executing this function session will be expire.
| Is This Answer Correct ? | 33 Yes | 1 No |
Post New Answer View All Answers
Which is faster set or list in java?
Break statement can be used as labels in java?
Why singleton pattern is better than creating singleton class with static instance?
How we can generate random numbers in java?
Write a function to print Fibonacci series and Tribonacci series?
What is the difference between applet and application?
In java, what is the difference between method overloading and method overriding?
What's the purpose of static methods and static variables?
What is the java idl system?
What are different types of classloaders?
What are keyboard events?
What are the actions that can occur when a thread enters blocked state?
Can we use static class instead of singleton?
What is the difference between compiler and jvm?
If an object is garbage collected, can it become reachable again?