Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: ASP to HTML

  1. #1
    New Coder
    Join Date
    Jun 2002
    Posts
    64
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question ASP to HTML

    Is it possible to take an ASP page and have it show up as an HTML page in the address bar?

    Example...

    www.dot.com has a default page setting to be page.asp or www.dot.com/page.asp is typed in but instead the asp page loads all the code and then shows up as www.dot.com/page.html in the addressbar but populated with all the info that the asp page gathered.

    If this is possible then how?

    Thanks,
    Larry
    "No Page To Show, Just Likes To Code."

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Lake Forest, CA
    Posts
    259
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No its not, unless you can get into your server settings, and then you can make any extension you want, .FRD and make that excecute as an asp page.

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    41 8' 52" N -95 53' 31" W
    Posts
    3,660
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you really really want it to have an .htm or .html extension, you can have an .asp file that creates the .html page on the fly from stuff in your database - and then redirect the user to that page.

    To start off with, there are examples of how to write a .txt file on

    http://www.w3schools.com/asp/asp_ref_filesystem.asp

    but you can do the same thing with an .html page.
    Former ASP Forum Moderator - I'm back!

    If you can teach yourself how to learn, you can learn anything. ;)

  • #4
    New Coder
    Join Date
    Jun 2002
    Posts
    64
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks a Bunch Whammy! That was exactly what I was looking for.

    Cheers,
    Larry
    "No Page To Show, Just Likes To Code."


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •