[mod_python] Is external redirect supposed to send a cookie (mpservlets)?

Scott Sanders sanders at apache.org
Wed Jun 22 01:41:33 EDT 2005

I know you find a different answer but here is the code I added to my  

req.err_headers_out.add("Set-Cookie", str(session.make_cookie()))

Scott Sanders

On Jun 20, 2005, at 2:03 PM, Scott Chapman wrote:

> Scott Sanders wrote:
>> The session cookie is not in the error headers, which are the  
>> only  headers sent on redirect.  My workaround was to write a  
>> redirect  function that wrote out the session cookie in the error  
>> headers.  I  will try and look for the source code.
>> Scott
> Scott,
> That would be perfect.  I hope you find the source code!
> Thanks!
> Scott

More information about the Mod_python mailing list