|
Posted by Beauregard T. Shagnasty on 08/09/06 13:51
Andy Dingley wrote:
> Beauregard T. Shagnasty wrote:
>
>> If there is no ASP processor to start the page, it won't be HTML.
>
> ASP pretty much is HTML,
Well, if you aren't really doing any asp processing, maybe so.
> barring the script fragments.
I suppose that since I always did processing, with the resultant HTML
issued with "Response.Write" - rather than simply renaming an HTML file
to an .asp extension - what we would see is different.
> It's not _labelled_ as HTML unless your Windows desktop has been
> configured that way, but that's a common enough scenario if you've
> got many of the M$ web dev tools installed.
>
>> It's been a few years since I wrote .asp, but my recollection is that IE
>> would just offer to "download" the file - on a computer without IIS/ASP.
>
> I've just tried it (on a desktop WinXP machine without any web server).
> IE7 saw it as text, Firefox saw it as HTML.
For me, changing a pure HTML file to extension .asp, both IE6 and
Firefox displayed it as if it were still an HTML file. That would not
happen with a real asp file.
If the file does no processing, there's no reason to use asp.
--
-bts
-Warning: I brake for lawn deer
[Back to original message]
|