Forum OpenACS Development: Re: Referer url

Collapse
6: Re: Referer url (response to 1)
Posted by Dave Bauer on
Ok

Either

1) It looks like using ad_returnredirect does not set the referrer header as you wish.

or

2) You are calling ad_returnredirect without an ad_script_abort call after it.

If #1 is the case you'll need to do something different.

What is the reason you need to verify the referrer is the same as the passed in return_url?

Collapse
7: Re: Referer url (response to 6)
Posted by josue ruiz on
Thanks to everyone,

I already solve my problem using the < meta HTTP-EQUIV="REFRESH" content="0; url=page3" >, but in openacs there is a function that do it.

I relplace the

ad_returnredirect

by
util_ReturnMetaRefresh

so in this way i already can read the correct referer page
;)