Hi Alex,
<script language=javascript>
location.replace('myPage.aspx');
</script>
As I search in internet, many places talk about above method. So far as I
understand this replace the last page in History, and I think that if works
like this it was more useful for me. The problem it's that when I use it
nothing happens. Do you know?
Thanks anyway
Ruca
"Alex Papadimoulis" <al***@papadimoulis.com> escreveu na mensagem
news:10*************@corp.supernews.com...
As another poster mentioned, there is no fool-proof way ... but here is a
technique I employ with a good amount of success:
<body onPageLoad="history.go(1)">
It's the equivelant of hitting the Forward button when a page loads, and
wont hit the server for either the Current or Previous page.
-- Alex Papadimoulis
"ruca" <ru***@iol.pt> wrote in message
news:%2******************@tk2msftngp13.phx.gbl... In some pages of my Web Application I need to "disable" the back button, and for that I have this (that is not working), that is the solution found
it in the Internet:
<script language=javascript>
location.replace('myPage.aspx');
</script>
What do I have to do more?
--
Programming ASP.NET with VB.NET
Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca