Hi, I'm new to web.py, I have a problem with setcookie
I follow the instructions on http://webpy.org/cookbook/cookies , and use firefox's httpfox extension to debug my sites, it turns out that the "Set-Cookie" header is not be sent to my browser,here's my code: ========================================= class xxx: def GET(self): r = '' web.setcookie('user', '12345') return r ============================================== And here's the response headers ============================================== (Status-Line) HTTP/1.1 200 OK Server nginx/0.7.62 Date Sat, 23 Jan 2010 05:53:01 GMT Transfer-Encoding chunked Connection keep-alive Keep-Alive timeout=20 ============================================== Then I tried to set web.header() directly, but failed again....no header can be set by that method I need help on this, thanks.... btw, I'm using web.py 0.33 @ python 2.6.4 -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
