Trying to set a cookie within a python script
Νίκος
nikos.the.gr33k at gmail.com
Sun Aug 1 22:16:29 EDT 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
> different.
Hello Steven,
Here is the script when it tries to run from my remote web server:
http://www.webville.gr/cgi-bin/koukos.py
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
mailing list