I've been thinking of this idea for a while but never found time to implement
it.

When last I looked nscgi created the environment for the cgi program using
ns_sets.  I've been wanting to manipulate those ns_sets to communicate from
tcl to the cgi program and to manipulate the cgi program. (change the query
string, supply auth info, etc)

I am interested in a couple of new commands.  Any thoughts?

ns_cgi_prep
Prepare the cgi environment ns_set and return setId

Syntax
ns_cgi_prep url

Description
ns_cgi_prep sets up the cgi environment for url and returns setId for the
ns_set containing the environment.


ns_cgi_exec
Execute a cgi with environment from setId for url

Syntax
ns_cgi_exec url setId

Description
ns_cgi_exec executes a cgi program referred to by url with environment in
setId and returns the output.


--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list: http://www.aolserver.com/listserv.html
List information and options: http://listserv.aol.com/

Reply via email to