A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
this week in the
A query about HttpSession.isNew
Ravi Kiran Va
Joined: Apr 18, 2009
May 19, 2010 23:15:09
Can anybody please tell me what will be the importance or significance of sun providing Httpsession.isNew Method??
As per the docs it says that this method returns true when the Web container has created the server but the client is not still associated with it .
The question i mean to ask is that , in what cases this method would be useful ??
Please share your ideas . Thanks in advance .
Save India From Corruption - Anna Hazare.
Kaustubh G Sharma
Joined: May 13, 2010
May 19, 2010 23:32:42
As per my knowledge isNew is used to check whether there is any old session present or not if the old session expired it will create a brand new session for the request..........
No Kaustubh No Fun, Know Kaustubh Know Fun..
Joined: Feb 17, 2008
May 19, 2010 23:40:49
Take a look at this:
I agree. Here's the link:
subject: A query about HttpSession.isNew
what is the difference between method overriding and redefining
Use of setNamingStrategy
What is a Factory method please explain with use of such methods
IBM Exam 157 - Questions and Answers (Sample Exam)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015