Where do you want the output of the POST request to go? A) Back to your
tcl script or B) direct to the user's browser?
Where do you want to make this POST request to? C) To any arbitrary
webserver or D) to your webserver only?
A) && C) => use util_httppost from the OpenACS toolkit
B) && C) => screwed (or use util_httppost and then send that output back
yourself)
D) => use Rob Mayoff's internal redirection module (www.dqd.com)
Jerry
At 10:07 AM 8/23/01, you wrote:
>I am looking for some easy way (i.e. a tcl routine not a C routine or
>module) to post form data into a URL without passing it on the URL line
>itself... instead of redirecting to say
>http://www.foo.com/bar?msg1=hello&msg2=bye I would like to do something
>like this:
>
>add_form_value storagevariable "msg1" "hello"
>add_form_value storagevariable "msg2" "bye"
>
>post_form "http://www.foo.com/bar" $storagevariable
>
>and have it redirect to the url and post the data the same as if a user had
>filled out a form and hit "submit" instead of the URL based method..
>
>Does anyone know how to do this? Any help would be appreciated....
>
>
>--
> Patrick Spence, Network Administrator
> Information System Dept.
> 2401 South 24th Street, Phoenix, AZ 85034
> [EMAIL PROTECTED] - http://www.vitamist.com
=====================================================
Jerry Asher [EMAIL PROTECTED]
1678 Shattuck Avenue Suite 161 Tel: (510) 549-2980
Berkeley, CA 94709 Fax: (877) 311-8688