Trying to set a cookie within a python script

Steven D'Aprano steve-REMOVE-THIS at
Mon Aug 2 05:21:21 CEST 2010

On Sun, 01 Aug 2010 19:16:29 -0700, Νίκος wrote:

>>On 2 Αύγ, 03:52, Steven D'Aprano <steve-REMOVE-T... at>
>> Neither do I. What makes you think there is an error? What sort of
>> error? Do you get a core dump, an exception, or something else?
>> Please report what you get, and what you expect, and how they are
>> different.
> Hello Steven,
> Here is the script when it tries to run from my remote web server:
> Its seems the error is in this line of code, somwthing with time.
> 19         cookie['visitor'] = ( 'nikos', time() + 60*60*24*365 )       
>   #this cookie will expire in an year

What error? Please copy and paste (do not retype) the entire error you 


More information about the Python-list mailing list