Forum OpenACS Q&A: Response to Redirecting to a foreign URL with POST?

Collapse
Posted by Kenny Chan on
Hi Dave,

In fact, I have already tried util_httppost before posting my question. It works. But the way it works is not what I desire. By using util_httppost, aolserver acts as a "proxy browser" and retrieve the target URL and give you back the data where you can set into a string variables for later use (or ns_write back to the client). However, what I really want to do is to actually redirect the client to another URL with the POST method.

Btw, Bob, would you plz gimme some details on how it works? I've read thru the thread you provided but still not quite sure what I should do. Javascript? If so... what Javascript segments are u using? Or have you wrapped things up and created a ns_returnredirect_with_post proc? :~)

Thanks all!