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
Is string is a keyword in java?
Can this keyword be used to refer static members?
What is the main advantage of passing argument by reference?
Can we have a try block without catch block?
Tell me the Importent classes in net package?
What are the types of strings?
How to display all the prime numbers between 1 and 100
What is a generic data type?
What is the core java?
What are the different types of inner classes?
What is the difference between a local variable and an instance variable?
How many types of interfaces are there?
what is optional in java 8?
What about instanceof operator in java?
Is java a super set of javascript?