[Zope] Cookies vs. browsers and other issues

Oleg Broytmann Oleg Broytmann <phd@mail2.phd.pp.ru>
Mon, 26 Feb 2001 18:45:43 +0300 (MSK)


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.