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 |
What are the special characters?
what is daemon thread and which method is used to create the daemon thread? : Java thread
Tell me the programme for this @ 1 2 @ @ @ 1 2 3 4
5 Answers Accenture, iGate, IntoNET, Value Labs,
Which object oriented concept is achieved by using overloading and overriding?
How many methods does cloneable interface contains?
Why declare Main() inside the class in java ?
How will you initialize an Applet?
Why a dead thread occurs?
What happens if we override private method?
Which are the two subclasses under exception class?
Can we have multiple public classes in a java source file?
How do you sort in ascending order in java?