how session will be expired ?

Answers were Sorted based on User's Feedback



how session will be expired ?..

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

how session will be expired ?..

Answer / dipesh

we set time out programmetically or in DD

Is This Answer Correct ?    4 Yes 0 No

how session will be expired ?..

Answer / george from psg

to close the session we can use invalidate code..

Is This Answer Correct ?    3 Yes 0 No

how session will be expired ?..

Answer / sivadasan

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

Post New Answer

More Core Java Interview Questions

Can I use % with real numbers?

0 Answers  


Can we declare an interface as final?

0 Answers  


What are examples of modifiers?

0 Answers  


What is the difference between throw and throws?

10 Answers   IBM,


What is the difference between variable declaration and variable initialization?

0 Answers  






What is difference between classpath and path variables in java?

0 Answers  


What is java object name?

0 Answers  


How do you break a loop?

0 Answers  


what is polymorphism?

4 Answers  


What super () does in java?

0 Answers  


What is the difference between conversation & casting?

0 Answers  


What are different types of classloaders?

0 Answers  


Categories