Ajax Page Loader and Logout when Nonce Expires
-
I am using an ajax page loader to load pages on the front end of my site. I have found that if I let the site idle for too long my nonce expires for my login and I am redirected away from the page I am on. Some of the pages on the front end require the user to be logged in and when they are logged out it interupts their work flow.
I was wondering if anyone could advise a method to discover if the user has been logged out and display a login popup like the admin dashboard offers when the member is logged out.
Is the best method to accomplish this by creating an auto ajax request on a timer?
Thanks,
Jesse
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Ajax Page Loader and Logout when Nonce Expires’ is closed to new replies.