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

Name the method of a Container that can be used to cause a container to be laid out and redisplayed?

1 Answers  


what do you meant by Platform-Independent?

6 Answers   Persistent,


What is the purpose of extern variable?

0 Answers  


How many types of the indexof method are there for strings?

0 Answers  


What is string in java is it a data type?

0 Answers  






Is string an object?

0 Answers  


Which method cannot be overridden in java?

0 Answers  


Does java runtime require a license?

0 Answers  


Can an interface be final?

0 Answers  


How does indexof work?

0 Answers  


What is meant by class?

0 Answers  


How does sublist works in java?

0 Answers  


Categories