Logout time
12 posts by 5 authors in: Forums > CMS Builder
Last Post: April 26, 2011 (RSS)
By matrix - February 27, 2008
Thank you.
PS: I love this thing!!! Can now see why you were so excited about getting CMS Builder out and working. Extremely flexible. Once I got over the idea that it was simply a different version of ArtMan, the learning curve dropped and I found myself appreciating the beauty of the concept in unanticipated applications. Beautiful!
Re: [matrix] Logout time
By Dave - February 27, 2008
There's no feature for that, but I'm sure we could figure something out. I can put this on the feature request list for future versions and/or give you some code to modify your current version.
If you don't mind modifying the code we could try:
1) We could put a meta refresh tag in /lib/menus/header.php to auto refresh to the logoff url (?action=logoff) after x seconds.
2) Updating the setcookie code to expire the cookie after x seconds.
The only risk to it is Either way if the client leaves an edit page open with unsaved changes for longer than the timeout period they may lose them as the browser logs them off.
Would either of those solutions work for you?
PS: Thanks for the kudos! That's a great quote, would it be ok if we added it our quotes page? (or you could write something else if you wanted). http://www.interactivetools.com/products/cmsbuilder/#reviews
Thanks! Hope that helps!
interactivetools.com
Re: [Dave] Logout time
By matrix - February 27, 2008
I'll need to think about this more. Overall, I think the protection of the update area may be more important than remaining logged in indefinitely, however it probably makes sense just to confirm preferences with the client.
Please feel free to use the quote. It's sincerely meant.
Thanks so much.
Re: [matrix] Logout time
By Dave - February 27, 2008
<meta http-equiv="refresh" content="600;url=?action=logoff"/>
After 600 seconds (10 minutes) it will auto refresh and log the user off.
Do you think that will work for them?
interactivetools.com
Re: [Dave] Logout time
By pod9 - February 15, 2011
Re: [pod9] Logout time
By Jason - February 15, 2011
Try this post:
http://www.interactivetools.com/forum/gforum.cgi?post=83641#83641
Hope this helps
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] Logout time
By pod9 - February 15, 2011
However, my customer (and myself), seem to be prompted to login again afer more like 10-20 mins of inactivity. Can you shed any light on this?
Re: [pod9] Logout time
By Jason - February 15, 2011
Some servers do not allow us to extend session time through code.
If you go into the General Settings section of CMS Builder. Under "Server Information", click on "phpinfo". This will bring up a page that shows current server settings. Search for "session". Under that section you should see a line that looks something like this:
"session.cookie_lifetime". It should give you a value in seconds under the "Local Value" column.
You may also want to contact your hosting provider about extending session times.
Hope this helps
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] Logout time
By pod9 - February 15, 2011
Re: [pod9] Logout time
By Jason - February 16, 2011
Does it seems to happen every time you're inactive for 20 minutes, or is it only sometimes?
You may want to contact your hosting service to find out if there's anything on their end that affects sessions times.
Hope this helps.
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/