hi!
i am printing a simple cookie, but instead of printing
um=name:blah&ac cess:admin&exp: 2312390.909
its printing
um="name:blah&a ccess:admin&exp :2312390.909"
why the quotes?
i am creating the cookie as follows:
data = "user:" + username + "&access:" + access + "&expiry:" + str(expTime)
cookie_digest = hmac.new(key, data).digest()
cookie = Cookie.SimpleCo okie()
cookie_data = data + "&digest:" + cookie_digest
cookie["um_cookie"] = cookie_data
cookie["um_cookie"]["path"] = "/~abrar1/hons/interface/admin/"
print cookie
thanks
cheers
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
i am printing a simple cookie, but instead of printing
um=name:blah&ac cess:admin&exp: 2312390.909
its printing
um="name:blah&a ccess:admin&exp :2312390.909"
why the quotes?
i am creating the cookie as follows:
data = "user:" + username + "&access:" + access + "&expiry:" + str(expTime)
cookie_digest = hmac.new(key, data).digest()
cookie = Cookie.SimpleCo okie()
cookie_data = data + "&digest:" + cookie_digest
cookie["um_cookie"] = cookie_data
cookie["um_cookie"]["path"] = "/~abrar1/hons/interface/admin/"
print cookie
thanks
cheers
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Comment