Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What is stringjoiner ?

0 Answers  


What are different access specifiers in java?

0 Answers  


How many ways can an argument be passed to a subroutine and explain them?

0 Answers  


What method is used to know the status of Checkbox(i.e it is checked or unchecked)?

1 Answers  


What is one third plus one third as a fraction?

0 Answers  


If we don’t want some of the fields not to serialize how to do that?

0 Answers  


Which access specifier can be used with class ?

0 Answers  


What is vector capacity in java?

0 Answers  


What services that container provides?

2 Answers  


We can write any Java Logics in our JSP. Then why we are using servlets(Controller Layer) to interact with the DAO ?

6 Answers   TCS,


Does google use java?

0 Answers  


Explain about the security aspect of java?

0 Answers  


Categories