Hi!
Try with env().
e.g.:

puts $env(LOGNAME)

or

set txtLogin $env(LOGNAME)

Ariel.



----- Original Message -----
From: "Ms. Source Forge" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 14, 2001 7:47 PM
Subject: [AOLSERVER] [ aolserver-Support Requests-450525 ] accessing cgi
variables within adp


> Support Requests item #450525, was opened at 2001-08-13 08:53
> You can respond by visiting:
>
http://sourceforge.net/tracker/?func=detail&atid=203152&aid=450525&group_id=
3152
>
> Category: Scripting: Tcl/ADP
> Group: aolserver3_3_1
> Status: Open
> Resolution: None
> Priority: 5
> Submitted By: M Gordon (zgorm)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: accessing cgi variables within adp
>
> Initial Comment:
> hi,
>
> i would like to be able to access some standard CGI
> variable from within my adp's...such as REMOTE_ADDR,
> HTTP_REFERER etc., but i can't find this anywhere in
> the docs. does anyone know how i can access these
> variables? Thanks.
>
> -Matt
>
> ----------------------------------------------------------------------
>
> Comment By: Nobody/Anonymous (nobody)
> Date: 2001-08-14 15:47
>
> Message:
> Logged In: NO
>
> You can use ns_conn to get access to the environment.
>
> http://aolserver.com/plweb-cgi/fastweb?
> state_id=997829168&view=aolserver_docs_view&numhitsfound=195
> &query=ns_conn&&docid=542&docdb=aolserver_tcldev_db&dbname=a
> olserver_admin_db&dbname=aolserver_tcl83_db&dbname=aolserver
> _tcl76_db&dbname=aolserver_cdev_db&dbname=aolserver_tcldev_d
> b&dbname=aolserver_misc_db&operator=OR&TemplateName=predoc.t
> mpl&setCookie=1
>
> -Jonathan
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
>
http://sourceforge.net/tracker/?func=detail&atid=203152&aid=450525&group_id=
3152

Reply via email to