tcl-rivet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (David N. Welton)
Subject Re: BeforeScript Directive.
Date Thu, 31 Jul 2003 18:55:57 GMT
"Andy Doerr" <> 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
Free Software:
   Apache Tcl:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message