By the way, how can i decode the cookie from the client for example: wKiAg0uMcKcZqg3nAwMDAg== decode to 8380A8C0A7708C4BE70DAA1902030303 Posted at Nginx Forum: http://forum.nginx.org/read.php?2,58522,58867#msg-58867