Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to Redirect back automatically to a previous Web Page

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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
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 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 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…

972 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