Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Back button does not work on my url

Status
Not open for further replies.

teacup

Technical User
Jan 28, 2003
4
GB
If some one from their PC logs on to say type my url in,then go to my web site, their back button does not send them back to the previous site, ie google. Any ideas whats wrong with my source code? I built the site using Web Artist 2, by Sierra
 
My clairvoyancy is working...

Well, my guesses are that:

1) You are forwarding from your index page to the first page of you site with a META refresh or similar

2) Your host is forwarding your page, or shows your site in a frame

3) Your domain name has web forwarding set up in some way that causes this behaviour


What happens if you click "back" a few times in succession, quickly?

Foamcow Heavy Industries - Web design and ranting
Toccoa Games - Day of Defeat gaming community
Target Marketing Communications - Advertising, Direct Marketing and Public Relations
"I'm making time
 
my back button works perfectly.

*cLFlaVA
----------------------------
[tt]tastes great, less filling.[/tt]
 
Looks like another IE oddity. Back button works fine in Mozilla, but not in IE for me

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

For tsunami relief donations

'If we're supposed to work in Hex, why have we only got A fingers?'

for steam enthusiasts
 
it's because you're using javascript to set the location.href.

Try window.location = 'blah.html' instead.

*cLFlaVA
----------------------------
[tt]tastes great, less filling.[/tt]
 
When i change the 'index.html' to 'blah.html' and upload it changes back to original location.href. Any ideas what causes this, and stopping back button to another web site from working?

<TITLE>Spanish Self Catering Villa Holidays</TITLE>

<SCRIPT LANGUAGE="JavaScript">
<!--
window.onerror = null;

manufacturer = navigator.appName;
versionnum = parseFloat(navigator.appVersion);

if (manufacturer.indexOf('Netscape') >= 0 && versionnum < 4.0)
location.href = 'index.html';

if (manufacturer.indexOf('Microsoft') >= 0 && versionnum < 4.0)
location.href = 'index.html';
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top