IBM Support

Multiple logins using the same user ID

Technote (FAQ)


"ConcurrentModificationException" and other errors may occur if the same user id is logged in to IBM WebSphere Portal multiple times.


WebSphere Portal has no built-in mechanism or configuration setting to limit the number of times a user id may log in. Unexpected behavior may occur if the same id is logged in more than once and this is not supported.

"ConcurrentModificationException" and other errors may be logged.

Most of the related issues were resolved in WebSphere Portal 5.1. However, you may still encounter exceptions or side-effects if you access the Portal in multiple browser windows using the same user id, whether or not the authentication requests take place on separate physical hosts.

It may be possible to prevent multiple logins by writing custom "tracking code." Contact IBM Services for assistance to undertake such a project. WebSphere Portal Development does not have any sample code.

If you wish to write your own code, some of the issues to be aware of are (this is not an inclusive list):

-- Multiple logins may take place on different nodes in a cluster. This means some cluster-wide mechanism would have to be in place to keep track of the logged-in users. Look at the WebSphere Application Server DistributedMap interface.

-- There should be a fail-safe way to track user logout (explicit logout and session timeout). Using a session listener might be a possibility.

-- If a user closes the browser without logging out, that user must wait for a session timeout before logging in again. Otherwise, there should be a "force simultaneous login" option in the login user interface.

For load testing, use unique user ids or virtual users.

Related information

Portal 6.1/7.0: Authentication Filters
Portal 6.1: Custom Login Portlet
Restricting Multiple Sessions

Cross reference information
Segment Product Component Platform Version Edition
Organizational Productivity- Portals & Collaboration WebSphere Portal End of Support Products General AIX, HP-UX, Linux, Solaris, Windows 7.0, 6.1.5, 6.1, 6.0, 5.1

Document information

More support for: WebSphere Portal

Software version: 8.0, 8.5, 9.0

Operating system(s): AIX, HP-UX, IBM i, Linux, Solaris, Windows

Software edition: Enable, Extend, Server

Reference #: 1227799

Modified date: 12 January 2006

Translate this page: