hi! config: zope 2.1.6 under red hat with customized UserDB. i'm having a strange problem with cookie based user authentication with ms internet explorer 5.5 on windows. it seems that the browser (but only this version and only under windows!) seems to "forget" its cookies, which results in an immediate logout. does anybody have similar experiences or a even solution? any help would be appreciated. ciao, basti -------------------------------------------------------------------------- sebastian f. luehnsdorf beehive elektronische medien gmbh -------------------------------------------------------------------------- http://basti.beehive.de http://www.beehive.de mailto:basti@beehive.de mailto:service@beehive.de http://www.zope.de fon: (+49 30) 84 78 20 http://www.i-surf.de fax: (+49 30) 84 78 22 99
Sebastian Luehnsdorf wrote:
i'm having a strange problem with cookie based user authentication with ms internet explorer 5.5 on windows. it seems that the browser (but only this version and only under windows!) seems to "forget" its cookies, which results in an immediate logout. does anybody have similar experiences or a even solution?
I've had this problem occasionally with other versions of IE. I wonder whether you're setting the path on cookies correctly? That's all I can think of... Anyone else noticed this? cheers, Chris
I had a problem like this once, and worked out that it was because the system time was incorrect in IE somehow. The time that windows was displaying was correct, but that had been manually changed to take in to account day light savings which started early in Australia this year due to the olympics. But for some reason internallyIE was using the wrong time, so my cookies were expiring as soon as they were set! Netscape on windows didn't have the same problem...and obviously netscape on linux didn't have the problem. terry Chris Withers wrote:
Sebastian Luehnsdorf wrote:
i'm having a strange problem with cookie based user authentication with ms internet explorer 5.5 on windows. it seems that the browser (but only this version and only under windows!) seems to "forget" its cookies, which results in an immediate logout. does anybody have similar experiences or a even solution?
I've had this problem occasionally with other versions of IE. I wonder whether you're setting the path on cookies correctly?
That's all I can think of...
Anyone else noticed this?
cheers,
Chris
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ----------------------------- Terry Kerr (terry@adroit.net) Adroit Internet Solutions http://www.adroit.net/ 03 9563 4461 0414 708 124
wow, that's a relly ugly bug! did you find a solution? is there a way to set the timestamp "manually" for a cookie? ciao, basti On Fri, 6 Oct 2000, Terry Kerr wrote:
I had a problem like this once, and worked out that it was because the system time was incorrect in IE somehow. The time that windows was displaying was correct, but that had been manually changed to take in to account day light savings which started early in Australia this year due to the olympics. But for some reason internallyIE was using the wrong time, so my cookies were expiring as soon as they were set!
Netscape on windows didn't have the same problem...and obviously netscape on linux didn't have the problem.
terry
Chris Withers wrote:
Sebastian Luehnsdorf wrote:
i'm having a strange problem with cookie based user authentication with ms internet explorer 5.5 on windows. it seems that the browser (but only this version and only under windows!) seems to "forget" its cookies, which results in an immediate logout. does anybody have similar experiences or a even solution?
I've had this problem occasionally with other versions of IE. I wonder whether you're setting the path on cookies correctly?
That's all I can think of...
Anyone else noticed this?
cheers,
Chris
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ----------------------------- Terry Kerr (terry@adroit.net) Adroit Internet Solutions http://www.adroit.net/ 03 9563 4461 0414 708 124
-------------------------------------------------------------------------- sebastian f. luehnsdorf beehive elektronische medien gmbh -------------------------------------------------------------------------- http://basti.beehive.de http://www.beehive.de mailto:basti@beehive.de mailto:service@beehive.de http://www.zope.de fon: (+49 30) 84 78 20 http://www.i-surf.de fax: (+49 30) 84 78 22 99
On Thu, 5 Oct 2000, Chris Withers wrote:
Sebastian Luehnsdorf wrote:
i'm having a strange problem with cookie based user authentication with ms internet explorer 5.5 on windows. it seems that the browser (but only this version and only under windows!) seems to "forget" its cookies, which results in an immediate logout. does anybody have similar experiences or a even solution?
I've had this problem occasionally with other versions of IE. I wonder whether you're setting the path on cookies correctly?
That's all I can think of...
Anyone else noticed this?
cheers,
Chris
well, i am using the following bit of code: RESPONSE.setCookie('__ac', token, path='/', expires='0') where token is a valid authentication id (i could check that). when i tried to set the domain to anything (empty string, hostname with & without port, ip address with & without port), all browsers had problems with the authentication... ciao, basti -------------------------------------------------------------------------- sebastian f. luehnsdorf beehive elektronische medien gmbh -------------------------------------------------------------------------- http://basti.beehive.de http://www.beehive.de mailto:basti@beehive.de mailto:service@beehive.de http://www.zope.de fon: (+49 30) 84 78 20 http://www.i-surf.de fax: (+49 30) 84 78 22 99
participants (3)
-
Chris Withers -
Sebastian Luehnsdorf -
Terry Kerr