Fri Jan 9 21:51:57 EST 2004
req.headers_out['Set-Cookie']='key=value' req.headers_out['location'] = 'http://localhost/index.html' return apache.HTTP_MOVED_TEMPORARILY The problem seems to be that if I don't do req.send_http_header() the Set-Cookie doesn't get sent so the cookie doesn't get set. If I do call req.send_http_header() the cookie does get set but it seems as though two sets of headers are sent and the response code is 200. Any ideas? Geoff Cadien geoff at infostreet.com
|