tcl-rivet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@dedasys.com (David N. Welton)
Subject Re: BeforeScript Directive.
Date Thu, 31 Jul 2003 18:55:57 GMT
"Andy Doerr" <andydoerr@swbell.net> writes:

> Does the BeforeScript and AfterScript directives execute in the
> request namespace?

This is on about line 250 of mod_rivet.c

They are not executed in the namespace, but at a global level.  If
they were to do 'namespace eval request { .... } they could get access
to it without problems, as far as I can tell.

> If not, Is the request namespace available when the scripts execute?

Well, it hasn't been created, so you would need to make sure it
exists, but that shouldn't interfere with subsequent things being
eval'ed there.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Mime
View raw message