I wan't to create a login with guest password. At this moment everything ok, but I wan't to do possible to make a logout and the gallery be blocked again. What is happening is that when I enter a Gallery it still available always.
Is working but only in IE, I can't do it work in FireFox, but thanks. If there is a way to not delete all the cookies, please give me the code. But by know i'm glad...
Comments
however... i am having some trouble with this, since the logout doesnt seem to delete the cookie (= doesn't work)
in user_logout.php
add this at line 56
$cookiesSet = array_keys($_COOKIE);
for ($x=0;$x<count($cookiesSet);$x++) setcookie($cookiesSet[$x],"",time()-1);
If there is a way to not delete all the cookies, please give me the code.
But by know i'm glad...
without doing this, it simply doesn't do anything. (perhaps the cookie name changed?)
(im using ff3, opera9.5, ubuntu)