aspose file tools*
The moose likes JSP and the fly likes 2 session object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "2 session object" Watch "2 session object" New topic
Author

2 session object

kundan varma
Ranch Hand

Joined: Mar 08, 2004
Posts: 322
Hi All,
Can we have 2 session object in JSP?? Can we create 2 sessions.
Thanks,
kundan


SCJP1.4,SCBCD,SCEA,CNA
Failures are practice shoots for success.
Krithika Srinath
Ranch Hand

Joined: Apr 11, 2006
Posts: 52
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
 
wood burning stoves
 
subject: 2 session object