?
Solved

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

Posted on 2007-03-22
5
Medium Priority
?
196 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 16

Assisted Solution

by:CWS (haripriya)
CWS (haripriya) earned 400 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 400 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 1200 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

800 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