Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: OWAS: owa_sec.get_user_id doesn't work
You can only use the owa_sec package when you use the CUSTOM authentication
model.
Klim Samgin <klimsamgin_at_yahoo.com> wrote in message
news:892vh5$dpn$1_at_nnrp1.deja.com...
> Hi!
>
> There is the get_user_id function in
> the owa_sec package that returns user id, I guess.
>
> I set the basic authentication for the some
> user and rigth after answering the user/password
> question the user executes the following
> simple procedure:
>
> prosedure show_my_id is
>
> begin
>
> htp.htmlOpen;
> htp.bodyOpen;
>
> htp.print('My id is ' || owa_sec.get_user_id);
>
> htp.bodyClose;
> htp.htmlClose;
>
> end;
> /
>
> In a browser window a see only 'My id is'.
> The same result is for
> get_password, get_client_ip, get_client_hostname.
>
> So, I don't know how to use owa_sec package :-(
>
> Can anyone help me?
>
> Thanks, Klim.
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Fri Feb 25 2000 - 15:47:23 CST