tags:

views:

21

answers:

2

We have a page with a form in OpenACS, and we'd like to redirect users to an external site/URL containing a totally different page/form.

How is it best done (on either the OpenACS-side or AOLServer-side)?

(Can anybody please tag this with openacs, aolserver and url-redirection? Thanks!)

+1  A: 

With OpenACS, here are some suggestions, starting with util_httppost:

http://openacs.org/forums/message-view?message_id=17963

I don't have privs to post more than one hyperlink, but inside this one there are links to other posts that discuss ns_returnredirect or just Javascript on the front end as a possible solution.

Tom H
I'm afraid the requirement is much simpler than that -- it's really just a mere URL redirection. Preferably invisible to the user.
Nikki Erwin Ramirez
then maybe Javascript on the page is more what you need? That way you won't have to hack with either AOLserver or OpenACS...
Tom H
+1  A: 

I'd say go with ad_returnredirect http://openacs.org/api-doc/proc-view?proc=ad_returnredirect It's recommended over ns_returnredirect for the reasons described on the API link.

Brian Fenton