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...

if we know the any consultancies, it will place in company
work through consultancy(contract base). please help me I'm
2008 pass out java candidate...

Answer Posted / venkat

Hi friend ,

if u use getSession(true),first the container checks the
session is avilable or not.if it exists,it uses that session
and returns that session,otherwise it creates new session

but in case of getSession(false),if the session exists for
the user,it uses that session otherwise it returns null

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by chaining in servlet?

1082


What is war file?

1178


Which interface should be implemented by all servlets?

1272


What does the term localization refer to?

1188


Explain their methods? Tell me their parameter names also have you used threads in servlet?

1101


Write a program to show the functionality of servlets.

1062


Define servlet mapping?

1222


What is the advantage of Servlets when compared with other server side technologies?

2401


How does Cookies work in Servlets?

1221


When servlet is loaded?

1122


What are the functions of the servlet container?

1697


What are the advantages of Servlet over CGI?

1206


What is the major difference between servlet and applet?

1062


What is the difference between using getSession(true) and getSession(false) methods?

1106


Which httpsession object is used to view and manipulate information about a session?

1230