[Zope-dev] Cookie problem with mySqlUserFolder

Dieter Maurer dieter at handshake.de
Sat Mar 19 13:55:47 EST 2005


Aruna Kathiria wrote at 2005-3-18 16:22 -0800:
> ...
>I checked what problem would be and found that each time logged in
>process on different computers generates a random value for cookie on
>that computer and also store same value in Tokens table on
>mysqlUserFolder database. So everytime only cookie from one computer
>matches the value with Tokens tables value. So other computer don't
>remember the previous login. ( Though I don't know this is the reason of
>my problem)
>
>What would be the solution to keep reorganization on all computers on
>which once user has been logged in? Any help will be appreciated.

Looks like you have to change "mysqlUserFolder" to not generate
a random number but reuse that from an ealier connect from a
different computer...

You might open a security hole by doing so...

-- 
Dieter


More information about the Zope-Dev mailing list