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
Give few difference between constructor and method?
Can we convert integer to string in java?
What is the declaration statement?
What are thread safe functions?
Can we cast any other type to boolean type with type casting?
What is the technique adopted to create an immutable class?
What is the purpose of finalization in java programming?
What is a stringbuilder?
What are checked exceptions?
What is the use of arraylist class in java?
What are the new features in java 8? Explain
Which collection is sorted in java?
Does list maintain insertion order java?
Explain the significance of class loaders in bootstrap?
When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?