If I do:
global $wpdb;
$wpdb->query("DELETE FROM wp_options");
Suddenly, I'm logged out. But how come? I thought all sessions are kept locally, surely, a reference to my session must be present on the server, but how can I avoid this issue?
I want to wipe the entire table, just not these things related to the user sessions, as such, I identified certain possible keys that should be kept, but with no success:
logged_in_key
logged_in_salt
auth_key
auth_salt
What could be the issue here?