Simple Membership Plugin › Forums › Simple Membership Plugin › Membership account auto log out every x time
Tagged: session login
- This topic has 4 replies, 3 voices, and was last updated 3 years, 7 months ago by
Eric iStudio101.
-
AuthorPosts
-
October 7, 2022 at 10:20 am #24578
ivan
ParticipantHello,
Curently, I am working with Simple Membership and I have an issue with the duration of the sesion.
I can not find a way to increase the duration of this or maybe make it non expirable. It is a problem because when the session expires the member has to login again and that is too often and annoying.I would appreciate it if you could give me s solution, thanks.
October 7, 2022 at 8:55 pm #24579The Assurer
ModeratorOn the login page:
- If the “Remember Me” box is checked, the login cookie used by the plugin is given an expiration date of 14 days and 12 hours.
- If the “Remember Me” box is not checked, the login cookie used by the plugin is given an expiration date of 3 days.
- If the member’s browser is configured to clear all cookies, when the browser is closed; the effect is as if the member is logged out, every time they close their browser; irregardless of whether or not the “Remember Me” box is checked. YOU HAVE NO CONTROL OVER THIS.</em
- Otherwise, the 14.5 or 3 day cookie expirations will be in force.
If you’d like to shorten or eliminate the 3 day minimum expiry, please see:
https://simple-membership-plugin.com/paid-support-simple-membership-plugin/October 10, 2022 at 9:03 am #24586ivan
ParticipantThanks for the answer, but I am talking about an auto logout. When happens the browser saves the password, that is true, but I want to expand the time between logouts.
October 10, 2022 at 9:46 pm #24589The Assurer
ModeratorThe duration of the session is controlled by the login cookie; which is set, depending upon the login condition I indicated.
If the browser does not clear the its cookies, the length of the login session is either 3 days or 14.5 days.
If the browser clears its cookies, when the browser is closed, the member is logged out; regardless of what the login cookie is set for.
If you are asking about automatically logging out a member, who either forgets to logout, or to prevent multiple logins, SWPM has no such capability.
October 11, 2022 at 6:02 pm #24597Eric iStudio101
ParticipantI face an issue that was not there before…
Members can’t log in any longer. Here is the log…
Should it be the same issue than this one? Any help?
Thanks[2022/10/11 19:35:02] – SUCCESS: Authentication request using email address: subscriber@wanadoo.fr, Found a user record with username: subscriber@wanadoo.fr
[2022/10/11 19:35:02] – SUCCESS: Authentication request – Username: subscriber@wanadoo.fr
[2022/10/11 19:35:02] – SUCCESS: Authentication successful for username: subscriber@wanadoo.fr. Executing swpm_login action hook.
[2022/10/11 19:35:02] – SUCCESS: Trying wp_signon() with username: subscriber@wanadoo.fr
[2022/10/11 19:35:02] – SUCCESS: wp_authenticate action. User with username: subscriber@wanadoo.fr is already logged in.
[2022/10/11 19:35:02] – SUCCESS: wp_login hook triggered. Username: subscriber@wanadoo.fr
[2022/10/11 19:35:02] – SUCCESS: Setting current WP user to: subscriber@wanadoo.fr
[2022/10/11 19:35:02] – SUCCESS: Triggering swpm_after_login hook.
[2022/10/11 19:35:02] – SUCCESS: synchronise_swpm_logout_for_wp_users() – Force wp user login sync is enabled.
[2022/10/11 19:35:02] – SUCCESS: WP user session is logged out for this user. So logging out of the swpm session also. - If the “Remember Me” box is checked, the login cookie used by the plugin is given an expiration date of 14 days and 12 hours.
-
AuthorPosts
- You must be logged in to reply to this topic.