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?

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


Please Help Members By Posting Answers For Below Questions

Write a program to find maximum and minimum number in array?

1043


What does s mean in regex?

1065


What causes memory leaks in java?

978


Explain parallel processing in java8?

1320


what are three ways in which a thread can enter the waiting state? : Java thread

1072


Why for each loop is used?

1062


What Is Query Throttling in java?

1041


What is the purpose of garbage collection in java?

1135


Is null a string or object in java?

1016


What is difference between throw and throws ?

1197


What is class level lock ?

1077


2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?

2320


What are the drawbacks of reflection?

1059


What is string [] args?

1055


What is close method? How it's different from Finalize & Dispose?

1119