Logout time

12 posts by 5 authors in: Forums > CMS Builder
Last Post: April 26, 2011   (RSS)

By matrix - February 27, 2008

Is there a way to limit time for login? Thinking about staff who work on updates for a bit, step away from the desk for a few hours, only to come back to find the owner's 10-year-old has had a good time updating the business site. [;)] (Not a real example, but you get it.)

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!
Happy Interactive Tools product user since 1999

Re: [Dave] Logout time

By matrix - February 27, 2008

Sounds like either would work. Thanks.

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.
Happy Interactive Tools product user since 1999

Re: [matrix] Logout time

By Dave - February 27, 2008

Ok, well here's a simple way to do it. Edit this file: /lib/menus/header.php and add this in the header:

<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?
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Logout time

By pod9 - February 15, 2011

hi, cmsb seems to log users out after a certain amount of time. how do i increase this time?
Pod9

Re: [pod9] Logout time

By Jason - February 15, 2011

Hi,

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

Hi, this says that the default session time is set to one day which is the same in my init.pho file: ini_set('session.cookie_lifetime', 60*60*24 );

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?
Pod9

Re: [pod9] Logout time

By Jason - February 15, 2011

Hi,

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

The local value is 86400. If that's seconds then it's 24hrs but it seems to be more like 10-20mins?
Pod9

Re: [pod9] Logout time

By Jason - February 16, 2011

Hi,

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/