httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ray Morris <supp...@bettercgi.com>
Subject Re: How to add referer header in external redirect?
Date Sun, 16 Jan 2011 21:47:29 GMT
  It's up to the browser what to send back after being redirected.
You could either a) not send a redirect header, but rather do an 
internal redirect, or b) probably better would be to append the 
encoded referer to the query string.
-- 
Ray Morris
support@bettercgi.com

Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/

Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/

Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user/register.php




On Sun, 16 Jan 2011 16:32:49 +0800 (CST)
"Whut  Jia" <whut_jia@163.com> wrote:

> Hi all,
> I need some help with a redirecting/referrer issue. If I do a 303
> redirect in my module (by this way below:
> apr_table_setn(r->headers_out,"Location","http://idp/login.html");
> return HTTP_SEE_OTHER;) In order to I can see the  referrer header
> when jumping to the new page,how do I solve this?? 
> Thanks,
> ajxs.
>  
> 
>  

Mime
View raw message