"/" for a path is great. every page will share the cookies,

KLAUS & Jörn, wouldn't it be a nice default? This is "server wide cookies".

If you added a domain ".example.com" You have "all 'subhost' cookies".
If you added a domain "example.com" You have "domain wide cookies".

the 2 last are often mixed up and there is very little difference!

BUT old cookies for "/test" would still be visible to a page under "/test"
like "/test/xyz.html"
I hope you never have to clean up your team's crummy cookie remains!

On 4/19/07, joomlafreak <[EMAIL PROTECTED]> wrote:


HI

I just added '/' as path and it worked for me.

I hope that helps
@Klaus
Please convey my thanks to Jake for the prompt reply. :)

Joomlafreak

On Apr 18, 4:06 pm, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote:
> I read the docs long ago, I've had to clean the cookies programmatically
> several times for several people.
>
> We had a a site that was accessible aswww.xxxxxx.comand xxxxxx.com, the
> cookies for xxxxxx.com come back for www but not the other way around.
So I
> got into using domain names in cookies or just realizing that it will
cause
> headaches.
>
> I don't remember where I read all about it, but there are issues with
using
> domain = ".xxxxxx.com" vs "xxxxxx.com" and a big issue with just letting
it
> default to the domain and path of the page that hands out the cookie!
>
> On 4/18/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Ⓙⓐⓚⓔ schrieb:
> > > Setting a path and a domain is required for knowing exactly where
the
> > > cookies are going to apply.
>
> > > Sloppy cookies can be fun, but someone will have to clean up the
> > > crumbs sooner or later!
> > Can you point to a good resource or explain a bit about properly
setting
> > path and domain for cookies?
>
> > --
> > Jörn Zaefferer
>
> >http://bassistance.de
>
> --
> Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ




--
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ

Reply via email to