httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Whut Jia" <whut_...@163.com>
Subject How to add a cookie header in response headers when do external redirect?
Date Mon, 17 Jan 2011 11:26:56 GMT
Hi,
I want to save accessed uri into response cookie before doing a external redirect,according
this way below:
 apr_table_setn(r->headers_out,"Location","http://www.idp.com/login.jsp");
apr_table_setn(r->headers_out,"Set-Cookie",r->uri);
return HTTP_SEE_OTHER;
But in client ,I cannot always find cookie header in response headers ,why  ?How do I solve
this??
Thanks,
ajxs
 
 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message