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:[EMAIL PROTECTED]             mailto:[EMAIL PROTECTED]
http://www.zope.de                  fon: (+49 30) 84 78 20
http://www.i-surf.de                fax: (+49 30) 84 78 22 99


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to