Anda di halaman 1dari 1

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

onunload=function(){null}; </script> Suppose there are two pages Page1.aspx and Page2.aspx and Page1.aspx redirects t o Page2.aspx

========================== http://localhost:2106/WebSite1/F1.aspx

http://us.mc1615.mail.yahoo.com/mc/welcome?.gx=1&.tm=1313761691&.rand=fev02fvgf3 mk3

-------------------------in all pages page load If Session("UserId") = Nothing Then Response.Redirect("login.aspx") Else End If

Anda mungkin juga menyukai