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

Home -> Community -> Usenet -> c.d.o.server -> Re: Auditing session identifier

Re: Auditing session identifier

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Tue, 27 Nov 2001 20:26:25 +0100
Message-ID: <u080e7jifu7q65@corp.supernews.com>

<Patrick.Jollain_at_kneip.com> wrote in message news:3c03c0b1$1_2_at_news.vo.lu...
> Hi,
>
> Sorry for sending this message twice :-)
>
> I need to obtain from Oracle a unique identifier of the current session.
> The session ID, as displayed by OEM, is not very usefull in my case, as it
>
> starts from 1 when the instance is restarted. I have found something
> interesting, the function SYS_CONTEXT ('USERENV', 'SESSIONID'), which
> gives back the 'auditing session identifier'.
>
> Can someone explain what is exactly this value, and if I can rely on it to
>
> obtain always the same value during all the session, and different values
> for different sessions?
>
> Thanks.
>
> Patrick J.

The audsid is based on a sequence and assigned during connect of an individual session.
hence, the audsid will always be unique

Hth

--
Sybrand Bakker
Senior Oracle DBA

to reply remove '-verwijderdit' from my e-mail address
Received on Tue Nov 27 2001 - 13:26:25 CST

Original text of this message

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