RESPONSE = request.RESPONSE context.set_cookie() RESPONSE.redirect('http://www.mysite.com/horde/imp/zoperedirect.php')