Forum OpenACS Development: Re: File Storage: View vs. Download

Collapse
Posted by Dave Bauer on
That's correct. You can call ad_page_contract inside a vuh file. It is parsed are a regular Tcl file. It just gets resolved but a different method by the request processor.

You have to be careful with that since you can't have the same variable in ad_page_contract twice. So if you do an internal redirect to another file that calls ad_page_contract you have to make sure they don't reference the same variables.