Simple Membership Plugin › Forums › Simple Membership Plugin › Auto log out on browser close
- This topic has 24 replies, 11 voices, and was last updated 9 years, 6 months ago by
dimabuko.
-
AuthorPosts
-
September 11, 2015 at 7:36 am #3024
admin
KeymasterThe WP user shouldn’t automatically logout when the browser is closed.
How about, you use the “Hide Adminbar” option from the simple membership plugin settings. That way it won’t show the wp admin toolbar at the top of the site. So the user only has to be concerned with the simple membership login and logout.
December 8, 2015 at 3:46 pm #4403vest
ParticipantHi
I do have the same issue.
The “Hide Adminbar” does not help, because I do control the menu items because of the Login status.
The login status does depend on the login in Simple Membership, but the view depends on the status from WP.
So if my users does cloes the browser and open it again, the didn’t see the menu items but are still logged in.
Thats a bit confuseing.Any other ideas?
February 25, 2016 at 4:48 pm #5438thepixelmaker
ParticipantHi
I have the same problem with logged user, but anyway is a GREAT PLUGIN. Thank youJuly 30, 2016 at 3:13 am #7631wpdeveloper
ParticipantStill no solution on this? We need swpm to auto logout when the browser is closed without first logging out. Thanks.
September 6, 2016 at 9:09 pm #8159Brandtify
ParticipantHi,
I have the exact same issue as Mi have described.
Problem: Simple membership user stays logged in forever until user press “logout”. We need simple membership plugin to auto logout, when the browser is closed without first logging out.
Any update on setting the simple membership SEASON cookie to have some kind of expiration? This issue has been ongoing since April 24, 2015… Please help?
September 17, 2016 at 9:06 pm #8347dimabuko
ParticipantI have the same issue. Also I described this issue a few times but seems that the plugin developers have the own vision how it should work 🙁 But the plugin of course is great 🙂
September 18, 2016 at 10:20 pm #8362echo
ParticipantI found a solution for my project, although this may not work for everyone…
I had to edit a plugin file, which means updates will likely overwrite my edits, so this is not ideal.
What I did was make an edit to class.swpm-auth.php
Look for lines 191 and 195, then change the $expire variable to a value of 0.Again, not ideal but for my project does the trick… Hopefully this will help others.
September 19, 2016 at 10:46 am #8376dimabuko
ParticipantHi, echo!
I am so glad that you post your solution! I am so happy, thank you so much.
Don’t know how you figure it out, but it works for me 100% that I need.September 19, 2016 at 11:09 am #8377dimabuko
ParticipantAlso may be developers of plugin can comment this solution? May be there is some hidden problems?
What I did was make an edit to class.swpm-auth.php
Look for lines 191 and 195, then change the $expire variable to a value of 0.October 19, 2016 at 7:11 am #8614dimabuko
ParticipantAfter few weeks of testing this solution:
What I did was make an edit to class.swpm-auth.php
Look for lines 191 and 195, then change the $expire variable to a value of 0.I found that it produces another problems when user is logged in by SMWP and logged out by WP at the same time. Clearing cache helps.
-
AuthorPosts
- You must be logged in to reply to this topic.