how to manage Session in WordPress using custom login?
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 … Read more