Oracle Application Express (MOSC)

MOSC Banner

Multi-logon question

edited Aug 23, 2012 2:12AM in Oracle Application Express (MOSC) 4 commentsAnswered
  Hi,
I have been asked to make sure that an application user of our APEX application can can only have one active session at any time. That is, to stop all application users from connecting to our APEX application more than once at any point in time time.

To address this problem, I have created a table (lets call it "ActiveUserSessions" ) in our schema to store the application user id and the apex user sessions id, so our custom logon function not only checks the application user credentials, but also populates the table mention before.

My intended solution was that our custom login function would check the table mention above "ActiveUserSessions" to see if the application users which is trying to login has an entry in this table, if she/he did, retrieve the stored apex user session id and check if this session id is valid, which would indicate if it is active. If it was active, then deny access and if it is not active allow the login process to move forward, checking the user credentials, etc.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center