Then assign the profile to the default role of Your users, say connect or resource role, one that every user has , now each user will be logged off automatically.
Main Topics
Browse All TopicsIs it possible to set something in database to terminate INACTIVE sessions after 5-10 minutes.
Since we have one db account and i want to do ti for web session only can it be done per OS_USER='ORA10" and STATUS='INACTIVE" and PROGRAM="httpd@box1"
would this be a bad idea
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
can i tell what is the setting now from a view?
Can you explain how the whole thing works and whether it applies to client/server and web connections.
User A connects. When does oracle turn him to INACTIVE status? When doe oracle KILL that session? would it go away after oracle kills it and allow new sessions in?
also, we only have one user account. is it possible to set profile per program or os_user name.
What you could do is profile management like other post mentioned. Take a look at this.
view - dba_profiles will tell you the settings...
http://www.orafaq.com/wiki
What is usually the default oracle has for these parameters without setting a profile??
Would this also apply for HTTPD connections?
Would oracle release the process and the session disappears after 5 minutes of IDLE time?
Any recommended setting for these parameters in medium load environment?
SESSIONS_PER_USER <<<I'm able to open 2 sessions concurrent
IDLE_TIME <<<My session will be terminate automatically after the time specified for this parameter.
CONNECT_TIME <<<It will keep me online until the value of this parameter.
1) SESSIONS_PER_USER - Do you really worry about this parameter? Anyways you'll be cleaning the InActive session after 5-10 mins.
2) the values of the other parameter you can derive it from yourself based on the query execution times. Consider the long executing SQL ( the time you think would be ok )in your system and set these parameters accordingly.
Business Accounts
Answer for Membership
by: oleggoldPosted on 2009-11-06 at 16:57:31ID: 25764429
It's the default option in Oracle profile ,go to oem -> security -> user profiles -> resource management , set time out time for INACTIVE sessions after 5-10 minutes as You wish and press apply changes.