New answers tagged logout
First answer this question: Why bypass the WordPress login/auth system? What's the end-game here? I would highly recommend against using PHP sessions to maintain user state in the WordPress world. More likely than not, a cookie will be sufficient. For using cookies, you can use the PHP setcookie() function to set cookies, and the $_COOKIE superglobal to ...
Top 50 recent answers are included