.htm or .asp ?

G

Guest

I have been designing sites with htm extension but understand .asp is a more
sucure form ? Is there any problems I may encounter if I save all my pages to
..asp rather than .htm using FP2003. My host does support .asp?

Cheers
 
T

Thomas A. Rowe

Unless you plan to convert your site to using ASP in the near future, you will receive no benefits
for changing the file extensions from .htm to .asp

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
M

Mark Fitzpatrick

ASP or any other file extension has nothing really to do with security. The
ASP extension simply adds the ability for scripting inside the page (similar
to CFM and JSP pages). The reason you may have seen .asp in regard to
certain security issues is there are a lot of scripts out there that can be
run in a .asp page to check for a cookie stating that a user has logged into
a membership system. Continue using .htm unless you need certain features
available in Asp or another scripting platform.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
J

Jon Spivey

Hi Phil,
If you don't have any asp code it won't make any difference which you use.
Having said that you'll probably want to use some form of scripting in the
future so it probably makes sense to start using .asp now - this way you
won't need to change your pages if/when you use script on them
 
G

Guest

ah so this will help me too then....

Have created a htm dynamic website and on one page i would like a contact
form; name, address, email etc. This need to be done as an aspx page.
Ive created the aspx page then saved the dynamic website. On viewing, i see
only the headings but no boxes or send button.

Perhaps i should change it all to asp and this page will work? Can i simple
save as asp rather than htm & itll recode itself?
 
T

Thomas A. Rowe

If the page needs to be aspx, then you must be hosted on a Windows server with ASP.net support. If
the page is Classic ASP, then you still need the Windows server, but with ASP support.

With your form, the form itself can have a .htm(l) extension, however it is the form handler that
must be have a support server-side script file extension.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================
 
D

David Berry

Do you want ASP or ASP.NET? .aspx is an ASP.NET page. Yes, you can just
rename it. What's the URL so we can see what the problem is?
 
G

Guest

I was mixed up and just realised my web hosting account is only ASP enabled
and not asp.net which is probably why it didnt work

I havent got that page online, just testing it offline (said it connected to
the asp.net development server?)

So i could change all the pages to asp and see if it works. Being new to it
all im going to have to look at asp as i havent at all yet, just started to
learn expression web. Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top