ZenphotoCMS Forum
Unexpected logout on administration panel - 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: Unexpected logout on administration panel (/thread-9364.html)



Unexpected logout on administration panel - hucste - 2011-12-09

Hello, with the version 1.4.x - and particularly, 1.4.1.6 - i've more difficult to stay connect on the administration.
The problem is the unexpected logout or loop on zenphoto login.
It's a random problem.

How adjust it ?




Unexpected logout on administration panel - sbillard - 2011-12-09

Unless you actually click the logout link, the only thing controlling this is your browser cookie handling (or session handling)




Unexpected logout on administration panel - hucste - 2011-12-09

exactly, i'm not click on logout...
sometimes, i can't connect on, because the login page loop.
sometimes, i can connect in, but i'm logout about few seconds or minutes.




Unexpected logout on administration panel - acrylian - 2011-12-09

What browser did you try? Did you try different browsers? Does it happen with all?




Unexpected logout on administration panel - hucste - 2011-12-09

Generally, i use FF (8.0) on Ubuntu 11.04.
My friend have same problem on her site (valerie-jaubert.com), on Windows, with FF or IE.

And, if we are connected on same time, on her site... it's very disaster




Unexpected logout on administration panel - hucste - 2011-12-09

For my friend, he use Vista, with FF (8.0) and IE (8.0)...




Unexpected logout on administration panel - hucste - 2011-12-09

I think, i resolve it...
I've uncoche the checkbox 'use sessions for the galerie', on 'options' > 'gallery'.

In fact, it's seems more stable, very...




Unexpected logout on administration panel - sbillard - 2011-12-10

Using sessions causes no cookies to be generated (That is why some people like it.) But sessions are defined by the browser and usually terminate if you close the browser and may terminate if you browse to a different site. They certainly do not have the lifespan of cookies.




Unexpected logout on administration panel - hucste - 2011-12-10

and if you set session.gc_maxlifetime, and/or session.cookie_lifetime, and/or session.cache_expire ... ?




Unexpected logout on administration panel - acrylian - 2011-12-10

Until sbillard returns, I am sorry, I have never encountered this and have no idea.




Unexpected logout on administration panel - sbillard - 2011-12-10

Quote:and if you set session.gc_maxlifetime, and/or session.cookie_lifetime, and/or session.cache_expire ... ?
So what is your question?

If you are do not know what these propeties do then you should probably not be changing them.