Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

2 session object  RSS feed

 
kundan varma
Ranch Hand
Posts: 323
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Can we have 2 session object in JSP?? Can we create 2 sessions.
Thanks,
kundan
 
Krithika Srinath
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kundan,

When you say creating 2 sessions in a JSP, I believe you mean creating 2 session for a request. This is not possible. At any given point, a request can hold only 1 session [even though the servlet container creates multiple session's to handle multiple requests].

Regards,
~Krithika
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!