SV: [Zope-CMF] Virtual Host Monster and login
John Morton
jwm@plain.co.nz
Tue, 5 Feb 2002 11:04:24 +1300
On Tuesday 05 February 2002 00:49, Magnus Heino wrote:
> > > Everything works just fine, except for logins... the password
> >
> > is accepted,
> >
> > > but im redirected to the login page again. How can I solve this?
> > >
> > > Are the cookies set for the wrong domain or what?
> >
> > Of course it could be a cookie thing - try logging in with a browers that
> > will ask you to accept a cookie on a per cookie basis and see
> > what's being
> > set. A successfull login will set __ac_name and __ac.
>
> If I login at :8080, and then moves to :80, I am logged in at :80.
I believe the cookie domain restrictions don't extend to the port on a
particular domain; your browser should send cookies issued by foo.com:80 to
foo.com:8080.
John