Solved

How to Redirect back automatically to a previous Web Page

Posted on 2004-04-02
2
216 Views
Last Modified: 2013-12-24
I am designing a site with multiple asps.  I have all of the apps working however I am not able to get the calculating ASP pages to automatically redirect back to the original site.  Is there a FrontPage tool that will automatically redirect me back to my original page after the asp work is complete or do I need to code in some type of script to get it to do an automatic redirect.

Thanks in advance,
Bryan
0
Comment
Question by:BryanP33
2 Comments
 
LVL 12

Accepted Solution

by:
rcmb earned 125 total points
ID: 10741439
Bryan,

Try adding this code after your database code.

<SCRIPT LANGUAGE="JavaScript">
var version = navigator.appVersion;

      // sets variable = browser version
      if (version.indexOf("MSIE") >= -1)
      // checks to see if using IE
         {
         window.location.href="yourfilename.asp"
         /* If using IE, it shows this page
         replace ie.htm with page name */
      }else
      window.open("yourfilename.asp", target="_self")
      /* else open other page
      replace other.html with page name */
     
</SCRIPT>

This takes care of browser issues and redirects your page.

RCMB
0
 

Author Comment

by:BryanP33
ID: 10741492
Thanks for the info I will give this a try, I appreciate the fast response

Bryan
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now