Oh, I did not mean to post this, only edit a previous post.
Edit: Ouch, I did edit it after all but I did not want it to be shown at the end of the list.
It should be in between bobince's two posts above.
Well, what can I say.. I am new here. :D
Here is the original content with minor modifications:
Thank you, bobince.
I see, but this is a little strange to me, because the cookies for this web site I was talking about which does not set a "path", somehow still seem to work across the whole domain in Internet Explorer and Firefox at least.
Any ideas?
Edit: Using Firefox and the AnEC Cookie Editor, I tried to have a look at the cookies which did not have a "path" set. Both of these cookies seem to have the path set to "/" in the cookie editor.
Edit 2: I'll try to give you an example of what happens in FF at least...
Response header for /login.php:
...
Set-Cookie: username=user; expires=Fri, 13-Feb-2009 19:15:07 GMT
Set-Cookie: password=password; expires=Fri, 13-Feb-2009 19:15:07 GMT
...
This should make the cookies work only for /login.php, right?
But please see here, the response header for /members.php (or any other file):
...
Cookie: username=user; password=password
...
As you can see, even if no "path" was set, the cookies still work across the whole domain.
Somehow, at least IE and FF (the ones I have tried), behave like this, and since I can't go around asking webmasters to follow the standard (is it?), I would really like to be able to make this exception as well, hopefully in a simple way.
Thanks in advance.