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 the need of a sealed class when we are having a structure

0 Answers   HCL,


Explain the order of precedence for logical operators.

0 Answers  


What is use of asp?

0 Answers  


How many Max Cookies can we create in Server? A. 10 B. 20 C. 30 D. 40

4 Answers   TCS,


What are the methods in Application Object?

2 Answers  






. which tag i need to use manually to bind columns in a datagrid ?

0 Answers  


Speaking of boolean data types, whats different between c# and /c++?

0 Answers  


What are the tags necessary to be present within the tag ?

0 Answers  


How to refresh an asp page on a single click of a button?

0 Answers  


When does the application OnEnd event handler fire? A. After every request for an application document, since web servers are stateless servers. B. As soon as there are no open connections to any application document. C. When the web server is stopped in an orderly fashion. D. Twenty minutes after the last request for a document in the application. E. When there are no application requests for the amount of time defined by the SessionTimeout variable.

1 Answers  


If I want to build a shared assembly, does that require the overhead of signing and managing key pairs?

0 Answers  


What is asp content?

0 Answers  


Categories