Trying to set a cookie within a python script
nikos.the.gr33k at gmail.com
Mon Aug 2 04:16:29 CEST 2010
>On 2 Αύγ, 03:52, Steven D'Aprano <steve-REMOVE-T... at cybersource.com.au> wrote:
> 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
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
More information about the Python-list