Re: How to add referer header in external redirect?

2011-01-16 Thread Ray Morris
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 supp...@bettercgi.com Strongbox - The next gener

Re: How to add referer header in external redirect?

2011-01-16 Thread Nick Kew
On 16 Jan 2011, at 12:59, Eric Covener wrote: >> 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";); > > err_headers_out to be preserved when an errordoc is sent for

Re: How to add referer header in external redirect?

2011-01-16 Thread Eric Covener
2011/1/16 Whut Jia : > 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";); err_headers_out to be preserved when an errordoc is sent for non-2xx response.

How to add referer header in external redirect?

2011-01-16 Thread Whut Jia
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 th