Solved

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

Posted on 2007-03-22
5
189 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:cdplayer
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:cdplayer
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

747 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

9 Experts available now in Live!

Get 1:1 Help Now