hi all, I want to customize the sign out functionality in sharepoint. I want to redirect to Home page after signout button is clicked. I used the following code :
function _spBodyOnLoad()
{
try
{
document.execCommand("ClearAuthenticationCache");
window.location=home page url;
}
catch (e) {}
}
but the problem here is that it is redirecting to home page but it shows that user is logged in, but I want to show web site as when anonymous access the site. how to do this?