Alexiev Nikolay
alexiev at activesolutions.bg
Thu Jul 3 14:39:49 EST 2003
I try to set cookie and redirect with one response. Redirect works fine but cookie dosn't exist. What can I do? HTTP_MOVED_PERMANENTLY = 301 req.headers_out.add('Set-Cookie', cookies.output(header='', sep='\r\nSet-Cookie:')) req.headers_out.add('Location', redirect) req.status = HTTP_MOVED_PERMANENTLY
|