Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Back button on a redirected page.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedBack button on a redirected page.

 Post Reply Post Reply
Author
anandsoft View Drop Down
Newbie
Newbie


Joined: 21 June 2003
Status: Offline
Points: 16
Direct Link To This Post Topic: Back button on a redirected page.
    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.

 

Back to Top
KCWebMonkey View Drop Down
Senior Member
Senior Member
Avatar
Go Chiefs!

Joined: 21 June 2002
Status: Offline
Points: 1319
Direct Link To This Post 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?

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Direct Link To This Post 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.
Back to Top
zMaestro View Drop Down
Senior Member
Senior Member


Joined: 11 May 2003
Location: Egypt
Status: Offline
Points: 1183
Direct Link To This Post 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.
Back to Top
abhinav View Drop Down
Groupie
Groupie


Joined: 13 May 2003
Location: India
Status: Offline
Points: 63
Direct Link To This Post Posted: 01 September 2003 at 9:36pm
zmaestro's suggestion should ..

<A HREF="javascript:history.go(-2)"> [Go Back]</A>
Back to Top
anandsoft View Drop Down
Newbie
Newbie


Joined: 21 June 2003
Status: Offline
Points: 16
Direct Link To This Post 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.

 

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.