Why this code not working.I want after logout is done check the browser back button does not retun to the last visited page.
please help me.
<script language = "javascript" type = "text/javascript">
/*
-- After LOGOUT is done,check is made so that the browser back button
does not retun to the last visited page.
-- The below function is called in OnClientClick of Login button
*/
function SetLogoutCookie(value) {
var exdate = new Date();
exdate.setDate(exdate.getDate() + 1);
var expires = "; expires=" + exdate.toGMTString();
document.cookie = "logout=" + value + expires + "; path=/";
}
&
View Complete Post