Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
hii all, back button coding is not working in IE
the error is
Webpage has expired

Most likely cause:
The local copy of this webpage is out of date, and the website requires that you download it again.

What you can try:
Click on the Refresh button on the toolbar to reload the page. After refreshing, you might need to navigate to the specific webpage again, or re-enter information.

More information
my code is in
<img  önclick="javascript:window.history.back();returen= false;" 
plz help me
Posted 2-Feb-12 0:23am
Edited 2-Feb-12 0:26am
v2
Comments
Sridhar Patnayak at 2-Feb-12 6:26am
   
Pre tags added
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi,
 
Try this...
 
<img onclick="javascript:history.go(-1);window.location.reload(true);return false;" />
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

use this script
<script type="text/javascript">
function noBack(){window.history.forward();}
noBack();
window.onload=noBack;
window.onpageshow=function(evt){if(evt.persisted)noBack();}
window.onunload=function(){void(0);}
    </script>
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 389
1 Maciej Los 180
2 Richard MacCutchan 140
3 DamithSL 129
4 Kornfeld Eliyahu Peter 119


Advertise | Privacy | Mobile
Web02 | 2.8.140709.1 | Last Updated 2 Feb 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid