I just got Opera 4.02 and the problem is a little better. With version 4.01 it would not redirect at all. No matter what was specified as the argument to ns_redirectreturn.
Now it works if you specify a URL. I tried an absolute URL:
ns_returnredirect "http://www.thedesignexperience.org/press/admin/"
I also tried
ns_returnredirect "." and that brings me to the index page in the current directory
and
ns_returnredirect "/" which brings me to the home page.
I am not sure why Opera does not interpolate the directory name from the current page.
I created redirect.tcl which contains this:
ns_returnredirect ""
Here is what AOLserver sends to Opera when I use "" for the redirect:
Page has moved <#a href=''>here<#/a>
I tested using LYNX and I got this message:
Alert!: Got redirection with no location header.