Forum OpenACS Q&A: Re: return from tcl without parsing adp?

Posted by Randy O'Meara on
I think Til's suggestion is the elegant solution if it works. I use the same technique in an index.vuh script which would correspond to your originating tcl page.


# Put common values into form vars
set vuh_title "some value"
set vuh_user_id "some other value"
rp_form_put vuh_title $vuh_title
rp_form_put vuh_user_id $vuh_user_id
# Be *really* careful about recursion here. There is no
# protection as far as I can tell. Symptoms are sudden
# unexplainable aolserver restarts.
rp_internal_redirect "anotherpage.tcl"


ad_page_contract {
} -query {