File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Concurrent access of website

ramji srinivasan

Joined: Aug 22, 2005
Posts: 11

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
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 ]
I agree. Here's the link:
subject: Concurrent access of website
It's not a secret anymore!