I am doing some PHP development and I am logging users to WP using my own scripts.
I use the wp_signon function documented here:
What is the meaning of the "remember me" value in the $credentials parameter?
I have tried with false and true but could not see any difference.
To be more specific, I would like the user to be automatically logged out from WP when he closes the browser.