how session will be expired?

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


Please Help Members By Posting Answers For Below Questions

Can an abstract class be a final class?

527


Is boolean a data type in java?

517


What is method overloading with type promotion?

577


whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

1657


How many bits is a string?

521






What is a singleton class in Java?

501


How to print nodes of a Binary tree?

1752


What is a native method in java programming?

523


List some features of the abstract class.

587


Why do we use string?

571


can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread

530


How do you sort arraylist in descending order?

570


Define "Access specifiers" in java.

608


Can extern variables be initialized?

509


How do you declare a variable?

621