how session will be expired ?
Answers were Sorted based on User's Feedback
Answer / dsr
we can write the code in web.xml.
<session-timeout>2000</session-timeout>
or
to kill the perticular session.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / george from psg
to close the session we can use invalidate code..
| Is This Answer Correct ? | 3 Yes | 0 No |
Correct DSR.
I would like to add one more point.
If we declare the session time out in XML means it will
take in minutes to kill the session.
But , if we declared session.timeout(60) in our program
means it will take in seconds. I think.
If any issue let me know
Thanks,
S.Sivadasan
Coromandel Infotech India Ltd.,
sivadasan.s@c2il.com
| Is This Answer Correct ? | 2 Yes | 0 No |
Tell us something about set interface.
what is check p object in java
How do you check if two given string are anagrams?
Is null a string?
Is .net better than java?
When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?
Can a method inside a interface be declared as final?
Which of the following is not an isolation level in the JDBC
What is the use of predicate in java 8?
Can you override private or static method in java?
Can you extend more than one interface?
What is the set interface in java programming?