This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating a session object within an already existing session  RSS feed

 
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
Boost this thread!