Home
The Toolkit for Online Communities
17110 Community Members, 0 members online, 1938 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Q&A : Defining ad_procs within a script? : One Message

Forum OpenACS Q&A: Response to Defining ad_procs within a script?

Collapse
Posted by Tom Jackson on

You can do this for testing purposes, but once the proc works you should move it out of the page. Once defined, the proc probably will remain in the thread's interp, so as long as that interp remains alive, the proc you define in one page will be there if the same thread processes a different request. So it would be bad if this proc was overwriting a proc that was defined at startup, if the proc was used on more than the one page you redefine it on.