[pmwiki-users] cookie problem with Firefox

Hans design at softflow.co.uk
Fri Jan 13 16:35:11 CST 2006


Friday, January 13, 2006, 5:56:04 PM, Hans wrote:
> i see now two setskin cookies, both set to gemini, but with different
> hosts: www.pmwiki.org and .pmwiki.org

this seems to be the crucial thing:
with setskin two cookies are set,
one to www.pmwiki.org with no domain access,
one to .pmwiki.org  with domain access.

It does not matter if skinchange.php is working as it was, or modified
with the $CookiePrefix variable.

okay, i narrowed down the problem, and it seems to reside in the triad
skin somewhere.
go to http://www.pmwiki.org/wiki/Test/SkinTestAssortment
choose a skin, say lean skin
http://www.pmwiki.org/wiki/Test/SkinTestAssortment?setskin=lean
if it does not load we need to force the browser - Shift-Reload
view the cookie: setskin lean @ www.pmwiki.org
choose triad skin
http://www.pmwiki.org/wiki/Test/SkinTestAssortment?setskin=triad
view cookie: setskin triad @ www.pmwiki.org is fine.
Now unset cookie with ?setskin=
http://www.pmwiki.org/wiki/Test/SkinTestAssortment?setskin=
View cookie: setskin triad @ .pmwiki.org
choose lean skin:
http://www.pmwiki.org/wiki/Test/SkinTestAssortment?setskin=lean
view cookie: there are two now: setskin triad @ .pmwiki.org
                            and setskin lean @ www.pmwiki.org
and lean skin does not load. I think the potential conflict is here.
Force the browser Shift-Reload: lean skin loads.
View cookies: two cookies still: setskin lean @ .pmwiki.org
                           and   setskin lean @ www.pmwiki.org

So why does triad skin exit by leaving a sort of backup cookie?
Very puzzling.

Best, 
~Hans                           






More information about the pmwiki-users mailing list