Oracle session

Posted on 2011-10-10
Last Modified: 2012-05-12
Hello All,

I need to load few values in oracle session whenever user connects, is there a way I can achieve in oracle

Question by:dojjol
    LVL 73

    Accepted Solution

    use a on logon trigger

    CREATE OR REPLACE TRIGGER trg_deny_remote_admins

           --- put your session queries here
    LVL 23

    Assisted Solution

    - i would like to add further on using logon trigger as pointed by sdstuber.
    - create a table consist of the session column and add new columns for the additional value you require to be added to the session detail. by using the logon trigger, you can insert the session details together  with the additional value. the steps and approach can be read further in the following link:

    Author Comment

    Thanks and my apologies for late reply.

    Can we create session level function, in place of trigger when we login we create a function specific to session.

    Featured Post

    PRTG Network Monitor: Intuitive Network Monitoring

    Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

    Join & Write a Comment

    Suggested Solutions

    Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
    Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
    This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
    This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now