PDA

View Full Version : ASP to HTML



ldiuf
08-20-2002, 03:42 PM
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:thumbsup:

The Wizzard
08-20-2002, 06:17 PM
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.

whammy
08-22-2002, 12:56 AM
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. :)

ldiuf
08-22-2002, 05:58 PM
Thanks a Bunch Whammy! That was exactly what I was looking for.

Cheers,
Larry:thumbsup: