Click here to Skip to main content
12,694,691 members (32,910 online)
Rate this:
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 1:23am
Updated 2-Feb-12 1:26am
Sridhar Patnayak 2-Feb-12 6:26am
Pre tags added
Rate this: bad
Please Sign up or sign in to vote.

Solution 1


Try this...

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

Solution 2

use this script
<script type="text/javascript">
function noBack(){window.history.forward();}

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100