Thomas Jollans wrote:
On 08/07/2010 09:36 PM, Νίκος wrote:cookie.has_key('visitor') != 'nikos'This is always True. has_key returns a bool, which is never equal to any string, even 'nikos'.
I missed that bit! :-) Anyway, the OP said "the 'stuff' never gets executed". Kinda puzzling... -- http://mail.python.org/mailman/listinfo/python-list