[Zope] calling a value?
Dieter Maurer
dieter@handshake.de
Thu, 8 Aug 2002 21:42:33 +0200
Jim Kutter writes:
> I have a very strange problem, that probably stems from me being new to python
>
> I have a script that does this
>
> now = DateTime()
> session_id = now.millis()
>
> # write to DB with session_id
>
> # set cookie with session_id
>
> the problem is that it seems that session_id holds an instance to now.millis(), because the session_id value in the database is a few milliseconds earlier than the session_id value stored in the cookie.
Something else must be wrong:
"now.millis()" returns a (passive) long. The value bound to "session_id"
will not change automatically.
Dieter