Print Page | Close Window

Back button on a redirected page.

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Web Design Discussion
Forum Description: Discussion on web design and development subjects.
URL: https://forums.webwiz.net/forum_posts.asp?TID=5372
Printed Date: 28 March 2026 at 5:52am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Back button on a redirected page.
Posted By: anandsoft
Subject: Back button on a redirected page.
Date Posted: 30 August 2003 at 6:12am

We are working on a website developed earlier by someone else. The website has an index page index.html, but redirects to another page. However, when a visitor clicks the back button on the browser, the current page loads again and nothing happens. One need to double click (using I.E.) to go to previously visited website. The customer wants to enable the browser back button such that the previous site is reached by a single click. Is there any way to do this?

thanks.

 



-------------
http://web-hosting.anandsoft.com/ - web hosting http://website-design.anandsoft.com/ - website design seo optimization<



Replies:
Posted By: KCWebMonkey
Date Posted: 30 August 2003 at 11:18am

It sounds like the main page has a <META> redirect, and they can be stubborn. You can't do anything to the Back button in IE.

You could make the redirect with ASP using Response.Redirect () as it is not stubborn like <META> tags.

Not sure but is this what you are looking for?



Posted By: michael
Date Posted: 30 August 2003 at 11:13pm
The page might also have a javascript in there that fires when the user tries to leave the site. A lot of crap sites have that trying to keep visistor on their site.

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: zMaestro
Date Posted: 31 August 2003 at 1:03pm
can you make a javescript link with History -2 so to take u 2 pages back if visitors wanted to... or u can just rename ur home page to .asp and put response.redirect, or simply change the default document from ur server control panel to the redirected page.


Posted By: abhinav
Date Posted: 01 September 2003 at 9:36pm
zmaestro's suggestion should ..

<A HREF="javascript:history.go(-2)"> [Go Back]</A>

-------------
http://www.sgkabra.com - Accountancy Firm | http://www.mp3oldies.com.ar - Mp3 Oldies | http://www.best-mp3software.com - Mp3 Software


Posted By: anandsoft
Date Posted: 06 September 2003 at 4:38am

Thanks for replies. We have implemented using a cookie, and the history.go command. Thanks zMaestro, and abinav for suggestions.

KCWebMonkey, thanks for the suggestion. We didn't want to change the extension, as there might be some other issues associated with it.

 



-------------
http://web-hosting.anandsoft.com/ - web hosting http://website-design.anandsoft.com/ - website design seo optimization<



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net