Hi,
I don’t know how to code. I need your help to create:
- a member disconnect button
- automatic disconnection of the member when the browser is closed
thank you
Hi,
I don’t know how to code. I need your help to create:
Just create your own button for logout.
https://www.wix.com/corvid/reference/wix-users.html#logout
Then add Wix Location to it if you want to move a user elsewhere.
https://www.wix.com/corvid/reference/wix-location.html#to
You can easily have your own login and logout button if you use it from this tutorial here for members profile page.
https://support.wix.com/en/article/corvid-tutorial-building-your-own-members-area
Otherwise, you can simply use code to use a button to logout your user and move them back to a page of your choice.
https://www.wix.com/corvid/forum/community-discussion/this-is-how-to-logout-and-go-to-the-page-of-your-choice/p-1/dl-5d45f8b65ef2640052982006-5d3db2b85bf7540016a78d69-7
For your automatic disconnection, have a look at Wix Storage.
https://www.wix.com/corvid/reference/wix-storage.html
Plus, if you search the forum you will find older posts on similar too.
https://www.wix.com/corvid/forum/community-discussion/logout-on-website-leave-solved-sort-of
https://www.wix.com/corvid/forum/community-discussion/log-out-of-the-member-with-timeout-help-code
https://www.wix.com/corvid/forum/community-discussion/logging-members-out-automatically
thanks a lot