• Post Reply Bookmark Topic Watch Topic
  • New Topic

execution of servlet doesn't mean session is created?  RSS feed

 
yamini nadella
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in servlet script request.getSession() gets the session if it is present else it creates new one.
is session will not be created automatically when we invoke a sevlet from Internet Explorer. in what conditions request.getSession(false) returns null because of no existing session.
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You really need to start consulting the documentation on methods you are confused with -- it helps alot. (Read my comments on your other post regarding getSession() and getSession(boolean).)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!