Forum OpenACS Q&A: Response to ad_host before page is loaded...

Collapse
Posted by Don Baccus on
You can mimic what is done for ad_conn in OpenACS 4.5 if you really want to avoid the minimal overhead associated with calling ad_host.  Use a filter to set your global value before the script's executed, then either reference the global directly in your script or use a two-liner proc to return the value as suggested in the previous post.