> Some of these values look wrong. Your 'path' ought to be as the
> browser sees it, and your 'domain' ditto;
...
> Otherwise, I would recommend omitting those elements and allowing the
> defaults through.
So I commented out those lines and now have this:
#!/usr/bin/env python
import strin
On Thu, Aug 11, 2011 at 12:39 AM, Jack Hatterly
wrote:
> cookie['lastvisit'] = str(time.time())
> cookie['lastvisit']['expires'] = 30 * 24 * 60 * 60
> cookie['lastvisit']['path'] = '/var/www/html/my_site/'
> cookie['lastvisit']['comment'] = 'holds the last user\'s visit date'
>