45
45
hash = hashlib.md5(hashtext).hexdigest()
46
46
data = quote(login + ':' + nick + ':' + email + ':' + role + ':' + hash)
48
return Cookie.Cookie(cookie_name,data,expires=time.time()+86400,path='/')
51
return Cookie.Cookie(cookie_name,'NONE',expires=time.time()+86400,path='/')