how to disable previous page complete after logout process

Answers were Sorted based on User's Feedback



how to disable previous page complete after logout process..

Answer / aman

<script type = "text/javascript" >
function disableBackButton()
{
window.history.forward();
}
setTimeout("disableBackButton()", 0);
</script>

Is This Answer Correct ?    0 Yes 0 No

how to disable previous page complete after logout process..

Answer / rajesh

<%
response.setHeader("Pragma","no-cache");
response.setHeader("Cache-Control","no-store");
response.setHeader("Expires","0");
response.setDateHeader("Expires",-1);
%>

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP Interview Questions

What is asp in web?

0 Answers  


What is full form of aspx?

0 Answers  


Is asp the same as saas?

0 Answers  


What are the tasks performed by <form> tags?

0 Answers  


What is difference between Server.transfer and Response.redirect ?

7 Answers  






which sdlc model was used for whatsapp?

0 Answers  


i want question papers of ASP

0 Answers  


Name the control which would you use if you needed to make sure the values in two different controls matched?

0 Answers  


How do you initialize a two-dimensional array that you don't know the dimensions of?

0 Answers  


Define the asp scripting objects?

0 Answers  


What are ARRAYS?

3 Answers  


What is use of asp?

0 Answers  


Categories