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

Can you use javascript in servlets?

1065


How can an existing session be invalidated?

1145


What are the ways to handle multi-threading in servlets?

1068


What is the servletconfig object?

1021


Can we get PrintWriter and ServletOutputStream both in a servlet?

1126


Which event is fired at the time of setting, getting or removing attribute from application scope?

1122


How do I know if java is running on linux?

1098


how many jsp scripting elements are there and what are those?

995


How to read request headers from servlets?

1025


What is the difference between context parameter and context attribute?

1023


What does the term localization refer to?

1082


What do you mean by servlet?

1126


What is the difference between servlet and filter?

931


What is http servlet?

1047


What is session tracking?

1189