Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Resricting no. of sessions based on OS user.

Re: Resricting no. of sessions based on OS user.

From: Gints Plivna <gints.plivna_at_gmail.com>
Date: Tue, 12 Jun 2007 17:43:41 +0300
Message-ID: <6e49b6d00706120743y7e8dd588s39b02a2825173e74@mail.gmail.com>


One option would be to create on logon trigger, get current os user using sys_context('USERENV', 'OS_USER'), query v$session how many connections the same osuser has and raise exception if the connection number is too big.

Gints Plivna
http://www.gplivna.eu

2007/6/12, Krishnadas.Chathamath_at_iflexsolutions.com
> How can I restrict the no. of sessions connected based on osuser?
>
> Means I want to restrict the OS user connecting more than 3 concurrent
> sessions (3 sessions per OS users).

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Jun 12 2007 - 09:43:41 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US