This is the default behavior in most web applications in that the last one to click "save" wins.
Spring Security has support for only allowing one session at a time, but that means if you're already logged in, you won't be able to login again from somewhere else. Can you imagine the painful user experience if you're logged in at work and you go home and can't login?
Regardless, here's how to enable it:
http://static.springsource.org/spring-security/site/docs/2.0.x/reference/ns-config.html#ns-concurrent-session
Matt
On Wed, Oct 28, 2009 at 1:52 AM, madnezsgk
<[hidden email]> wrote:
Hi,
I'm having 1 major problem here..I have download the latest appfuse version
(2.0.2) and successfully install and run the application. However after a
few testing, I found out that :
if you open the appfuse application in 2 browser(must be same type of
browser ..example ie or firefox)..
and login different user (1st:admin/admin,2st:user/user).....and...it will
end up...(if u click the edit profile link)..the 1st user profile(admin)
will be replace with the 2st(user) profile.
What is see here is..if u using same browser and open multiple window..the
previous user profile will always being replace with the latest user login
profile in appfuse...WHY? Is this bug or feature..please..?
The 2st browser will be redirect to main page without asking the 2st user to
key-in the userid/password?
How to enforce the 2st user to login into appfuse..regardless the appfuse
application being entered/login previously..?
--
View this message in context: http://www.nabble.com/User-Session-Being-Overwrite-tp26090577s2369p26090577.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]