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
Where import statement is used in a java program?
How do you check if a string contains only numeric digits?
Are registers volatile?
Why does my function print none?
Can we extend a class with private constructor?
Can we override constructor in java?
What is a boolean flag in java?
Does java allow overriding static methods ?
Is it possible to override the main method?
How do you check if an arraylist is not empty?
Is alive and join method in java?
What is unicode in java?
How can u increase the heap size in the memory?
Is a case study a method or methodology?
Which is better stringbuilder or stringbuffer?