Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to Redirect back automatically to a previous Web Page

Posted on 2004-04-02
2
Medium Priority
?
227 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 500 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

715 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