Answer Posted / madhuri
There are three ways ...
1)call setMaxInnactiveInterval()
we cal call the above mtd in two ways,i.e Programatically
Declaratively
Declaratively means through WEB.XML,by using session-timeout
we can close the session.
2)using session.Invalidate()
3)logout the session
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is lexicographically smallest string?
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.
How do you define a variable?
What is the purpose of assert keyword used in jdk1.4.x?
Is linkedlist thread safe in java?
Explain OOPs concept.
Can a class extends itself in java?
Is there any case when finally will not be executed?
Can you call a method in a method?
Is java jre still free?
What is an object class?
What are the two ways of implementing multi-threading in java?
What is the difference between int and integer in java?
What is the difference between == and === javascript?
What should I import for arraylist in java?