[Zope-dev] cookies & ie5.5 win
Sebastian Luehnsdorf
sfl@beehive.de
Fri, 6 Oct 2000 14:04:44 +0200 (CEST)
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