[Zope-dev] Re: [Zope] Re: [Zope-dev] cookies & ie5.5 win

2000-10-06 Thread Sebastian Luehnsdorf


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




Re: [Zope-dev] cookies & ie5.5 win

2000-10-06 Thread Sebastian Luehnsdorf

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.defax: (+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 )




[Zope-dev] Re: [Zope] Re: [Zope-dev] cookies & ie5.5 win

2000-10-05 Thread Terry Kerr

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  -  [EMAIL PROTECTED]
> 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 ([EMAIL PROTECTED])
Adroit Internet Solutions
http://www.adroit.net/
03 9563 4461
0414 708 124



___
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 )