Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Portals and Portlets and the fly likes Problem with overlapping users in Portal app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Problem with overlapping users in Portal app" Watch "Problem with overlapping users in Portal app" New topic
Author

Problem with overlapping users in Portal app

santhosh srini
Greenhorn

Joined: Jan 01, 2009
Posts: 1
I'm working on struts portal app,I'm stuck with a prob when on some odd occasion the users data gets mixed up.

Consider the below scenario

1. two users log in first user A then User B.
2. at some point user a sees user b's data.
3. The problem gets resolved when user reloads the page

Could anyone please throw some light into this issue.
H Jetly
Ranch Hand

Joined: Aug 26, 2010
Posts: 41

I think the data resides in the Application Scope.
After reloading the page for user B, what is the data for user A I think you will data of userB then .
This is an issue of session management, you have to see how portlet sessions are managed.


Harsh Jetly
Yolande Kruse
Greenhorn

Joined: Mar 24, 2010
Posts: 6
I've seen this problem before.

Make sure you are not running on the default hypersonic database. If that doesn't work, play around the session settings.
Rich Sezov
Author
Greenhorn

Joined: Dec 13, 2006
Posts: 17
It's really hard to know; it could be a caching issue; a session management issue (i.e., sessions aren't getting destroyed when users log out); or an issue with the code in the application itself. Can you post any more details about your application?

--Rich
 
 
subject: Problem with overlapping users in Portal app
 
Similar Threads
Basic question
session issues with multi tabs in a browser
which session listner to be impletement
Balancing good design versus performance & memory
logout requirement in portals