![]() |
|
Can´t Logout Gallery and Block It Again - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Can´t Logout Gallery and Block It Again (/thread-3918.html) |
Can´t Logout Gallery and Block It Again - agostinhofr - 2008-10-21 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. Can´t Logout Gallery and Block It Again - moos - 2008-10-22 use the user_logout plugin and add printUserLogout() to you album.php file however... i am having some trouble with this, since the logout doesnt seem to delete the cookie (= doesn't work) Can´t Logout Gallery and Block It Again - moos - 2008-10-22 found it: in user_logout.php add this at line 56 $cookiesSet = array_keys($_COOKIE); Can´t Logout Gallery and Block It Again - sbillard - 2008-10-22 This will, of course, clear out all cookies, not just the login ones. Can´t Logout Gallery and Block It Again - agostinhofr - 2008-10-22 Is working but only in IE, I can't do it work in FireFox, but thanks. Can´t Logout Gallery and Block It Again - moos - 2008-10-29 sbillard, yes it will clear all cookies for that domain, which seems like what is needed. without doing this, it simply doesn't do anything. (perhaps the cookie name changed?) (im using ff3, opera9.5, ubuntu) Can´t Logout Gallery and Block It Again - gwmbox - 2009-07-06 So is there a way to get it to clear the login cookie only for this? Can´t Logout Gallery and Block It Again - sbillard - 2009-07-06 Are you running the current release of Zenphoto and using the user_logout plugin? That does exactly clear these login cookies. |