Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to restrict the user connections
Hi,
Create a logon trigger that checks the number of sessions, and if more than 20 exists, it will randomly select one and kill it. The idea being that that user has probably been on long enough and needs to learn to share resources.
Alternatively, you can set license_max_sessions in your init.ora file.
-----Original Message-----
From: Senthil Kumar [mailto:senthilkumard_at_summitworks.com]
Sent: Thursday, March 18, 2004 9:28 AM
To: oracle-l_at_freelists.org
Subject: How to restrict the user connections
Hi List,
How do I restrict the number of user connections. I want only 20 users to access the database on a particular time.
How do I do this.
TIA
Senthil.
"This information in this e-mail is intended solely for the addressee and may contain information which is confidential or privileged. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, or believe that you have received this communication in error, please do not print, copy, retransmit, disseminate, or otherwise use the information. Also, please notify the sender that you have received this e-mail in error, and delete the copy you received."
![]() |
![]() |