• Post Reply Bookmark Topic Watch Topic
  • New Topic

execution of servlet doesn't mean session is created?

 
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).)
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!