I believe "ns_conn content" will return in AOLServer 4.0
Meanwhile I have a module I've written called vt_conn_content that creates a
tcl command that does the same thing.
See http://www.vorteon.com/download/

If anyone wishes to rewrite this into a patch to add "ns_conn content" into
aolserver 3.x they can feel free to do so.

On Sunday 13 October 2002 08:32 am, (Via wrote:
> I would like to access the content associated with a POST, and so far,
> the only method I can see to do this is something like the following:
>
>
>
>      set filename [ns_mktemp /tmp/fooXXXXXX]
>      set fh [open $filename w]
>      ns_writecontent $fh
>      close $fh
>      set fh [open $filename r]
>      set content [read $fh]
>      close $fh
>      ns_unlink -nocomplain $filename
>
>
> I would like to be able to do this without having to use a file as an
> intermediary.  Something like the following:
>
>      set content [ns_conn content]
>
> Looking in conn.c, I've noticed that ns_conn seems to have had a content
> sub-command in the past, but it's no longer implemented.
>
> Regards,
>
> Dan

Reply via email to