You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_dtcl@tcl.apache.org by Steve Szabo <st...@fundserv.com> on 2001/10/14 20:32:20 UTC

hgetvars

greetings all

i just wrote a small page to grep through log files
and i didn't need to use the "hgetvars" command at
all - i could access the VARS array with out it

now i want to look at ENVS and COOKIES - i can't
access these arrays even if i use the "hgetvars"
command

Thanks
---------------------------------------------------
---------------------------------------------------


Re: hgetvars

Posted by "David N. Welton" <da...@dedasys.com>.
Steve Szabo <st...@fundserv.com> writes:

> i just wrote a small page to grep through log files and i didn't
> need to use the "hgetvars" command at all - i could access the VARS
> array with out it

What version are you running with?  Keep in mind that in newer
versions, VARS is deprecated and the [var] command is used.  It's
documented on the web page...
 
> now i want to look at ENVS and COOKIES - i can't access these arrays
> even if i use the "hgetvars" command

This seems very odd... Maybe you can post an example of what you are
doing?

Does the examples.ttml file work as advertised (at the bottom it
should show a list of variables).

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
Free Software: http://people.debian.org/~davidw/
   Apache Tcl: http://tcl.apache.org/
     Personal: http://www.efn.org/~davidw/