Answer Posted / sanjay gajula
THERE IS A ELEMENT NAME CALLED "SESSION-TIMEOUT" IN THE
WEB.XML FILE OF APPLICATION SERVER USING THIS ELEMENT WE
CAN EXPLICITLY SET THE TIME FOR SESSION TO GET EXPIRED
EX;-
<SESSION-CONFIG>
<SESSION-TIMEOUT>30</SESSION-TIMEOUT>
</SESSION-CONFIG>
WE HAVE TO SET THIS IN THE WEB.XML FILE OF APPLICATION
SERVER[TOMCAT]
| Is This Answer Correct ? | 15 Yes | 2 No |
Post New Answer View All Answers
What are exceptions
Is 0 true or is 1 true?
What string is utf8?
Do I need to import java.lang package any time? Why?
What is difference between add() and addelement() in vector?
There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?
What is the difference between Java and C++?
How to create a custom exception?
What is role of void keyword in declaring functions?
What are synchronized blocks in java?
What is linked hashset and its features?
Explain about automatic type conversion in java?
What does n mean in java?
What is a cup of java?
Why is the type for real numbers called double?