tcl-websh-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@dedasys.com (David N. Welton)
Subject Re: cvs commit: tcl-websh/src/generic url.c url.h
Date Fri, 23 Nov 2001 13:21:33 GMT
Simon Hefti <hefti@netcetera.ch> writes:

> > That's a good idea, but what's to prevent us from just filling in
> > the 'env' array, so that people can see these variables from the
> > user level as well?  That's what I do in mod_dtcl/rivet, and the
> > NWS guys do as well.
 
> The env array _is_ available, but through the web::request accessor.

Ok.

> Two reasons for this:
> - use common interface (like web::formvar, web::param, ...)
>   no catch {} needed around set foo $env(doesnotexist)
> - make people mod_websh aware

Sure, makes sense...  

So I guess the second thing I see is the whole param* series of
commands.  Is it possible to use this as an API?  Investigating now...

-- 
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/

Mime
View raw message