I am working on an employee logon section, https://, that I want to add a button to the header to allow the user to "log out"... (it is integrated with ID by the way, IIS7...)
That is:
- clear the browser cache of the credentials
- reset, in my case using PHP, what I can see in $_SERVER['REMOTE_USER']
- jump back to the general http:// 'home page'
I tried singly or in a combination:
- resetting the headers on a specific page as "401", but (naturally I guess) the user is prompted to enter them again... and I can't get the page to go back to the (and the browser is still caching them anyway...)
- using document.execCommand("ClearAuthenticationCache", false) but not useful outside of a
- trying setting $_SERVER['REMOTE_USER'] directly as a variable, knowing it would not work :-)
- etc, etc, etc
I thought about just closing the user's browser, but that could be problematic and annoying to them! <grin>
I am actually more of a data person who is learning PHP, Javascript, etc - the good IT folks set up the IIS7 configuration and although they have been very understanding where not able to think of any way to accomplish this...
Anyway, thanks in advance for any help!
Regards,
GREG...