Logout user and delete cookies from the client side?

I’d like to be able to logout the user. I can do this by calling wp_logout() on the server but if the user drops connection is there a way to log them out?

The wp_logout() method clears the cookies. Is there a way to do this on the client? Maybe like a clear all cookies (logout) for this domain or path.

Read More

More Info:
For example, say they are at school or at the library on a public computer and the connection drops (which happens a lot).

Related posts

1 comment

Comments are closed.