Solved

How to Redirect back automatically to a previous Web Page

Posted on 2004-04-02
2
220 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Database solution for an NPO that facilitates training? 3 54
ColdFusion and quickBooks 4 78
Text Transformation using ActionScript 3 5 152
Code Manager | Snippits 2 36
In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

856 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