websitemembership timeout
2 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: September 29, 2011 (RSS)
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
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
Re: [pgplast] websitemembership timeout
By ross - September 29, 2011
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!
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 - Consulting
consulting@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/
Cheers,
Ross Fairbairn - Consulting
consulting@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/