Return-Path: Mailing-List: contact websh-dev-help@tcl.apache.org; run by ezmlm Delivered-To: mailing list websh-dev@tcl.apache.org Received: (qmail 70699 invoked from network); 23 Nov 2001 13:21:04 -0000 Received: from ppp-137-6.25-151.libero.it (HELO ashland) (151.25.6.137) by daedalus.apache.org with SMTP; 23 Nov 2001 13:21:04 -0000 Received: by ashland (Postfix, from userid 1000) id 74DE14C58D; Fri, 23 Nov 2001 14:21:33 +0100 (CET) To: Simon Hefti Cc: Subject: Re: cvs commit: tcl-websh/src/generic url.c url.h References: From: davidw@dedasys.com (David N. Welton) Date: 23 Nov 2001 14:21:33 +0100 Message-ID: <87u1vlzkpu.fsf@dedasys.com> Lines: 27 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Simon Hefti 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/