I have some code put together to authenticate users with both PHP_AUTH_USER/PW and cookies.
After a cookie expires, i want to send my users back to the authentication page for which the Header("HTTP/1.0 401 Unauthorized"); is specified to prompt a user to enter a login and password.
My problem is that PHP_AUTH_USER and PW seems to be cached into the browser. How can I either flush the cache or reset PHP_AUTH_USER/PW so that the user can be prompted with the login/password prompt?
I've attempted setting PHP_AUTH_USER = "" but then the authentication will not work.
I've searched for previous posts related to what i'm trying to achieve, but no luck.
Thanks for the help as always.
Vinnie Lima