Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder: Plugins & Add-ons:
websitemembership timeout

 

 


pgplast
Novice

Sep 27, 2011, 8:32 AM

Post #1 of 2 (234 views)
Shortcut
websitemembership timeout Can't Post

Hi:

I have a members-only portal for a small group based upon cmsb abd websitemembership plugin. It is only accessible via https.

In its first trial by members, one has found that she is being logged out periodically when idle for many minutes. If she is sitting at a page for, say, 15 minutes, and then clicks a link, she is logged out and returned to the login page.

init.php has the default settings as below:

ini_set('session.cookie_httponly', true );
ini_set('session.cookie_lifetime', 60*60*24 ); // cookies are removed after this many seconds of inactiity (set to 0 for session only)
ini_set('session.gc_maxlifetime', 60*60*24 );

Any ideas as to why I'm getting the logouts?
Does this relate to use pf https protocol?

Thanks.

Philip


ross
Staff / Moderator


Sep 29, 2011, 12:21 PM

Post #2 of 2 (225 views)
Shortcut
Re: [pgplast] websitemembership timeout [In reply to] Can't Post

Hi Philip

That's an interesting problem. What I'd do first is find out if it only seems to be happening with this one member. Then find out what browser is being used and if they have any anti virus software running.

The fact that you mentioned she's logged out after being idle for many minutes makes me also wonder, how long that usually ends up being.

With your init.php settings, your server might not let you override all of those settings.

Lots of different things to explore on this one so let's keep the ball rolling. Find out if it's happening for more than just that one member and how long that member stays idle for.

Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com

Hire me!  Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/