Forum OpenACS Development: Re: Problem over-loading ns_return

Collapse
Posted by Brian Fenton on
Hi Gustaf

this is some legacy code that was used to hide any "ugly" errors from users. The guy who wrote it decided that replacing ns_return, ns_returnnotfound, ns_returnerror and ad_return_error was preferable to using the config.tcl redirects (in ns/server/${server}/redirects). I think the reason he did this (but I can't really remember to be honest) was that the redirects were no always reliable back in those days.

Seeing as rename is no longer available in this case, it looks like I'll be using the redirects!

thank for the explanation.
Brian