Re: [Zope-dev] Cookie problem with mySqlUserFolder

2005-03-19 Thread Dieter Maurer
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
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Cookie problem with mySqlUserFolder

2005-03-18 Thread Aruna Kathiria
Title: Cookie problem with mySqlUserFolder






Hello everyone:


I am facing the problem regarding cookie.

One of our website uses mySqlUserFolder. 



Problem is if user logs on one computer, and if he/she comes again on same computer, computer remembers him/her. That is good as it is what we want.

But if he/she goes on another computer and logs on and then if he/she come back to previous one, it looses it's reorganization though cookie is there.

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.

Thanks in advance!



With Regards,

Aruna Kathiriya

Sr.Consultant,

CIGNEX Technologies, Inc

T: 408.327.9900 x 314

F: 408.273.6785

E: [EMAIL PROTECTED]

U: www.cignex.com

Implement IT Right




___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )