Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
Logout time

 

 


matrix
User

Feb 27, 2008, 12:53 PM

Post #1 of 4 (426 views)
Shortcut
Logout time Can't Post

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. Wink (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
Re: [matrix] Logout time [In reply to] Can't Post

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
Re: [Dave] Logout time [In reply to] Can't Post

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
Re: [matrix] Logout time [In reply to] Can't Post

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


Code
<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

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4