wood burning stoves 2.0*
The moose likes Struts and the fly likes Concurrent access of website Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Concurrent access of website" Watch "Concurrent access of website" New topic
Author

Concurrent access of website

ramji srinivasan
Greenhorn

Joined: Aug 22, 2005
Posts: 11
hi

When i login into my website i populate session variables.but when i try to access the site concurrently by opening more than one browser,only one browser shows the success page.
For other browsers it is not getting the session object.i have tried using the loginForm as session in struts-config.xml also.please suggest a solution.

Thanks & Regards
Ramji Srinivasan
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Each time a new browser window is opened, and the website is accessed from within each of them separately; each browser gets its own session

BUT, if say using Internet Explorer, you access to the site then execute an CTRL - N(ew) these two pages will share the same session.

By the way, this has nothing to do with Struts, but with general Servlets...
[ January 18, 2006: Message edited by: Yilmaz Mete ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Concurrent access of website