File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Can i have two sessions inside a single file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Can i have two sessions inside a single file" Watch "Can i have two sessions inside a single file" New topic
Author

Can i have two sessions inside a single file

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi

I am having a JSP page .

In that i am having two sessions .

For example :



If i do so i am loosing data inside my firsts session that is hss (Means hss.getAttribute("Name") returns me null in next page)

Please let me know if this is wrong

Save India From Corruption - Anna Hazare.
Kapil Mishra
Greenhorn

Joined: Oct 04, 2009
Posts: 25
According to my knowledge, you can not handle two session on a application from same client at a time...


SCJP 5,SCWCD 5
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

okay , thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can i have two sessions inside a single file