[Zope] Cookies vs. browsers and other issues

Sreeram Ramachandran gro.mareers@sreeram.org
Tue, 27 Feb 2001 00:07:26 +0800


On Mon, Feb 26, 2001 at 06:45:43PM +0300, Oleg Broytmann wrote:
> On Mon, 26 Feb 2001, Sreeram Ramachandran wrote:
> > I am using LoginManager with Basic Cookie Authentication (using Zope
> > 2.3.1b1). When I successfully login, I expect the browser to receive a
> > cookie, right? Now, the problem is this: Netscape 4.76 on Linux and Links
> > 0.82 on Linux don't pick up the cookie. Whereas, Lynx 2.8.3 on Linux and
> > IE 5.something on Windows 2000 do pick it up.
> 
> > Has anyone experienced this? On similar/other browsers/platforms? Do you
> > know why this is happening?
> 
>    Yes, many times. Do your cookie include "domain" part? It may cause the
> problem. Or even worse - what was the real URL you tried? Due to security
> considerations browsers tend to drop cookies from 2nd-level domains.
> Because of this one of our sites had installed forced redirect from
> http://russ.ru/ to http://www.russ.ru/. I remember the same problem wit
> Russian free-mail site au.ru. They recommended me to switch to www.au.ru -
> and all went well.
> 
> Oleg.
> ----
>      Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
>            Programmers don't die, they just GOSUB without RETURN.
> 

Thanks so much, Oleg! That was it! I forced everything to www.my.domain and
things work fine, now!

-- 
----------------------------------
Observation is the essence of art.
----------------------------------