 |

matrix
User
Feb 27, 2008, 12:53 PM
Post #1 of 4
(426 views)
Shortcut
|
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
|
|
|  |
 |

Dave
Staff
/ Moderator

Feb 27, 2008, 1:04 PM
Post #2 of 4
(424 views)
Shortcut
|
Hi Matrix, 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! Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

matrix
User
Feb 27, 2008, 2:46 PM
Post #3 of 4
(419 views)
Shortcut
|
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
|
|
|  |
 |

Dave
Staff
/ Moderator

Feb 27, 2008, 5:34 PM
Post #4 of 4
(413 views)
Shortcut
|
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
|
|
|  |
|