i get a value for $page_link
when i do doc_return 200 text/plain "page_link is: $page_link" i get the url showing
however, when i do
ns_write $page_link
before redirecting I get nothing, but if I do:
ns_write "test"
ns_write $page_link
i get 'hello' followed by the link
so it seems that ad_returnredirect $page_link will not detect the value of $page_link, but anything else (i.e. ns_returnredirect $page_link will detect it)
if i do ad_returnredirect "http://www.google.com" it sends the page to Google correctly
is this an error with ad_returnredirect? or just me?