Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating a session object within an already existing session

 
harishkumar mehra
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we create a new session within an already existing session...if the answer is true how can we identify these two session object...What will happen when we will call
request.getSession(false) which session object we will get then either the new one or the old one....What will happen when we will call invalidate method either the old session object or the new session object will get deleted...
If possible give me a demo code to illustrate this....?
 
manoj r patil
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Session is not hierarchical. You can have only one session which is used to track a set of transactions/activities.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic