[Zope] Executing stored procedures in Oracle using ZOracleDA

Martijn Pieters mj@antraciet.nl
Mon, 22 Nov 1999 12:43:03 +0100


At 23:08 21-11-99 , Bruno Mattarollo wrote:
>Execute InsertUsuario (
><dtml-sqlvar username type="string">,
><dtml-sqlvar password type="string">,
><dtml-sqlvar AUTHENTICATED_USER type="string">,
><dtml-sqlvar REMOTE_ADDR type="string">
>)

Are you passing in AUTHENTICATED_USER and REMOTE_ADDR? They are not 
available otherwise.

You can access REMOTE_ADDR on the REQUEST object as well:

   <dtml-sqlvar "REQUEST['REMOTE_ADDR']" type="string">

Maybe you can access AUTHENTICATED_USER this way as well, but I don't have 
the time right now to test this for you.

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| T: +31 35 7502100 F: +31 35 7502111
| mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
---------------------------------------------