Solved

Converting entire site pages from .htm to .asp. How and is it required.

Posted on 2007-03-22
5
190 Views
Last Modified: 2010-04-25
I have inherited a website where all of the page's file extensions end with .htm. It has been imported into Dreamweaver 8.

I have created a page in DW8 that will be added to the site which contains a form.  The file extension ends with .htm.

The client has asked me to remove some of the fields in the form to accommodate and added field that will upload JPEGs to their site.

If I change the one page from .htm to .asp how will Dreamweaver respond? Will I need to turn the other pages file extensions to .asp as well? If so, how is that done?

Thanks!
0
Comment
Question by:Elton Brown
5 Comments
 
LVL 16

Assisted Solution

by:CWS (haripriya)
CWS (haripriya) earned 100 total points
ID: 18777719
Will I need to turn the other pages file extensions to .asp as well?
Not neccessary. You change that particular page to .asp and keep the other pages as it is.
0
 
LVL 70

Assisted Solution

by:Jason C. Levine
Jason C. Levine earned 100 total points
ID: 18777804
>> If I change the one page from .htm to .asp how will Dreamweaver respond?

If the site cache is functioning properly, DW will search all pages with a link to the page being renamed and it will automatically update the links.
0
 
LVL 25

Accepted Solution

by:
Rouchie earned 300 total points
ID: 18778372
Just to add to cyberwebservice's answer:

You only need to use the ASP extension on pages that need to process some kind of server-side logic.  HTML is purely for presentation, I doesn't 'do' anything special in the background and shows pages exactly as they are written.  ASP on the other hand can do more advanced things before the final page is sent to the user, such as save your uploaded JPG files, connect to databases and 'pull out' information, etc.

Therefore as cyberwebservice states, only the pages that need to do advanced things need to be changed to ASP extensions.  To test it out on your own machine you'll need to have the DW testing server set up, which means installing IIS from the Windows CD-ROM.

Hope that helps!
0
 
LVL 1

Author Comment

by:Elton Brown
ID: 18779222
Thank you Cyberservice, jason1178 & Rouchie for replying!
It appears that when Dreamweaver 8 (DW8) detects that I have created/converted what was an .htm file to a .asp file none of the other pages work. I can't display them via DW8. I have to delete the site via the Site management tool, redefine the site and I am able to see all of the files. I find DW8's behavior strange. I am sure that I am doing something wrong!
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 18781444
>> I am sure that I am doing something wrong!

Me, too.  That's NOT normal behavior for DW.  I'm sure all of us have sites with mixed .htm / .php / .asp / .cf pages and we don't see this.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Multi Step Form using jQuery 11 938
Software Tool for cleaning up UNUSED WEB FILES ? 2 269
DW UserID Session from Login 1 109
Multiple HTML5 Videos – One player – Dreamweaver CS6 10 240
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

862 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now