Solved

How to Redirect back automatically to a previous Web Page

Posted on 2004-04-02
2
222 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Suggested Solutions

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
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 update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
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…

752 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