DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    paul Guest

    Redirect to ASP page


    Hi all,

    How can i redirect automatically to "MainForm.asp" , once i lunch my web
    site (default.htm) ??

    thx for your help

    Paul


  2. #2
    Douglas J. Steele Guest

    Re: Redirect to ASP page

    Put the following statement in the <HEAD></HEAD> section of your HTML:

    <META HTTP-EQUIV="REFRESH" CONTENT="0; url=MainForm.asp">

    If you replace the 0 with a number, it will wait that many seconds before
    redirecting (This give you an opportunity to put text on the page telling
    the user that they're being redirected, should you want to)

    --

    Doug Steele, Microsoft Access MVP
    Beer, Wine and Database Programming. What could be better?
    Visit "Doug Steele's Beer and Programming Emporium"
    http://I.Am/DougSteele/


    "paul" <paul@namtek.ca> wrote in message news:3ab06287$1@news.devx.com...
    >
    > Hi all,
    >
    > How can i redirect automatically to "MainForm.asp" , once i lunch my web
    > site (default.htm) ??
    >
    > thx for your help
    >
    > Paul
    >




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links