PC Review


Reply
 
 
=?Utf-8?B?RWRI?=
Guest
Posts: n/a
 
      4th May 2005
Is there any reason why I should not name all the pages in my website as
..asp? Even if they do not have asp code in them? It would be more consistent.
Is there any drawback from naming all .asp?
Thanks,
EdH
 
Reply With Quote
 
 
 
 
Murray
Guest
Posts: n/a
 
      4th May 2005
Other than the fact that by so naming them, you trigger a server-parse event
on each page, no. I often do this on sites where I will be using includes.

--
Murray
============

"EdH" <(E-Mail Removed)> wrote in message
news:4F5BFC46-351D-478A-B96F-(E-Mail Removed)...
> Is there any reason why I should not name all the pages in my website as
> .asp? Even if they do not have asp code in them? It would be more
> consistent.
> Is there any drawback from naming all .asp?
> Thanks,
> EdH



 
Reply With Quote
 
Kevin Spencer
Guest
Posts: n/a
 
      4th May 2005
I'm not sure I would have put it that way, Murray. Ed probably doesn't
understand what a "server-parse event" is, and might get the idea that this
is a harmless thing to do. In fact, it WILL slow down performance on the
server, anywhere from an infintessimally small amount to an unacceptably
large amount.

I am reminded of an old saying: "Watch your pennies, and the dollars will
take care of themselves." In this case, the guy is asking the equivalent of
"Should I throw away all the pennies I get in change every day?" The answer
depends on how many pennies you receive every day, and how rich you are, as
the number of pennies lost is a fraction of your total wealth.

So, I would answer "No, unless you have a good reason to."

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"Murray" <(E-Mail Removed)> wrote in message
news:u7$(E-Mail Removed)...
> Other than the fact that by so naming them, you trigger a server-parse
> event on each page, no. I often do this on sites where I will be using
> includes.
>
> --
> Murray
> ============
>
> "EdH" <(E-Mail Removed)> wrote in message
> news:4F5BFC46-351D-478A-B96F-(E-Mail Removed)...
>> Is there any reason why I should not name all the pages in my website as
>> .asp? Even if they do not have asp code in them? It would be more
>> consistent.
>> Is there any drawback from naming all .asp?
>> Thanks,
>> EdH

>
>



 
Reply With Quote
 
Murray
Guest
Posts: n/a
 
      4th May 2005
Of course you are right. Perhaps I should have said for sites that are less
than about 100 pages, and on which the representative page contains no more
than about 20-30K of code (I'm guessing this is well above the median for
sites built by those using FP), this will make very little difference to the
server.

If you fall outside of those limits, please contack Kevin Spencer offline
and ask for permission.

By the way, Kevin - you are takempis, right? Back in 1998, when I first
started serious web development, you rescued me with your tutorials more
than once. I've wanted to thank you ever since....

--
Murray
============

"Kevin Spencer" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm not sure I would have put it that way, Murray. Ed probably doesn't
> understand what a "server-parse event" is, and might get the idea that
> this is a harmless thing to do. In fact, it WILL slow down performance on
> the server, anywhere from an infintessimally small amount to an
> unacceptably large amount.
>



 
Reply With Quote
 
=?Utf-8?B?RWRI?=
Guest
Posts: n/a
 
      4th May 2005
Thanks you for your responses. It was exactly what I needed to know. I
figured asp's carried some baggage.

I am all for getting into the habit of saving pennies even when developing a
small site so as to be well prepared when I develop the BIG one...

Thanks
EdH

"Murray" wrote:

> Of course you are right. Perhaps I should have said for sites that are less
> than about 100 pages, and on which the representative page contains no more
> than about 20-30K of code (I'm guessing this is well above the median for
> sites built by those using FP), this will make very little difference to the
> server.
>
> If you fall outside of those limits, please contack Kevin Spencer offline
> and ask for permission.
>
> By the way, Kevin - you are takempis, right? Back in 1998, when I first
> started serious web development, you rescued me with your tutorials more
> than once. I've wanted to thank you ever since....
>
> --
> Murray
> ============
>
> "Kevin Spencer" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I'm not sure I would have put it that way, Murray. Ed probably doesn't
> > understand what a "server-parse event" is, and might get the idea that
> > this is a harmless thing to do. In fact, it WILL slow down performance on
> > the server, anywhere from an infintessimally small amount to an
> > unacceptably large amount.
> >

>
>
>

 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      4th May 2005
The "baggage" is very minimal with ASP 3.0 and by allowing users to switch between .asp and .htm
page, you loose/suspend ASP session states. It really is best to make all pages .asp when using ASP,
unless you confine your ASP application to a subweb/subsite, but note that the session will start
when the user enters the subweb and suspend when they leave the subweb and by default will expire if
they do not return within 20 minutes.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
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.
==============================================

"EdH" <(E-Mail Removed)> wrote in message
news8799E01-82E8-4B5F-AC2D-(E-Mail Removed)...
> Thanks you for your responses. It was exactly what I needed to know. I
> figured asp's carried some baggage.
>
> I am all for getting into the habit of saving pennies even when developing a
> small site so as to be well prepared when I develop the BIG one...
>
> Thanks
> EdH
>
> "Murray" wrote:
>
>> Of course you are right. Perhaps I should have said for sites that are less
>> than about 100 pages, and on which the representative page contains no more
>> than about 20-30K of code (I'm guessing this is well above the median for
>> sites built by those using FP), this will make very little difference to the
>> server.
>>
>> If you fall outside of those limits, please contack Kevin Spencer offline
>> and ask for permission.
>>
>> By the way, Kevin - you are takempis, right? Back in 1998, when I first
>> started serious web development, you rescued me with your tutorials more
>> than once. I've wanted to thank you ever since....
>>
>> --
>> Murray
>> ============
>>
>> "Kevin Spencer" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > I'm not sure I would have put it that way, Murray. Ed probably doesn't
>> > understand what a "server-parse event" is, and might get the idea that
>> > this is a harmless thing to do. In fact, it WILL slow down performance on
>> > the server, anywhere from an infintessimally small amount to an
>> > unacceptably large amount.
>> >

>>
>>
>>



 
Reply With Quote
 
Kevin Spencer
Guest
Posts: n/a
 
      4th May 2005
> By the way, Kevin - you are takempis, right? Back in 1998, when I first
> started serious web development, you rescued me with your tutorials more
> than once. I've wanted to thank you ever since....


Well, that is my web site. Thank YOU, Murray! :-D

> If you fall outside of those limits, please contack Kevin Spencer offline
> and ask for permission.


I know you're kidding, but please don't suggest that ANYONE but yourself and
the other good helpers ever contact me offline!

--

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"Murray" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Of course you are right. Perhaps I should have said for sites that are
> less than about 100 pages, and on which the representative page contains
> no more than about 20-30K of code (I'm guessing this is well above the
> median for sites built by those using FP), this will make very little
> difference to the server.
>
> If you fall outside of those limits, please contack Kevin Spencer offline
> and ask for permission.
>
> By the way, Kevin - you are takempis, right? Back in 1998, when I first
> started serious web development, you rescued me with your tutorials more
> than once. I've wanted to thank you ever since....
>
> --
> Murray
> ============
>
> "Kevin Spencer" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> I'm not sure I would have put it that way, Murray. Ed probably doesn't
>> understand what a "server-parse event" is, and might get the idea that
>> this is a harmless thing to do. In fact, it WILL slow down performance on
>> the server, anywhere from an infintessimally small amount to an
>> unacceptably large amount.
>>

>
>



 
Reply With Quote
 
Murray
Guest
Posts: n/a
 
      4th May 2005
Oops! 8(

Sorry - my tongue was firmly in my cheek....

DO NOT CONTACT NOT NOBODY OFFLINE!

--
Murray
============

"Kevin Spencer" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>> By the way, Kevin - you are takempis, right? Back in 1998, when I first
>> started serious web development, you rescued me with your tutorials more
>> than once. I've wanted to thank you ever since....

>
> Well, that is my web site. Thank YOU, Murray! :-D
>
>> If you fall outside of those limits, please contack Kevin Spencer offline
>> and ask for permission.

>
> I know you're kidding, but please don't suggest that ANYONE but yourself
> and the other good helpers ever contact me offline!
>
> --
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> What You Seek Is What You Get.
>
> "Murray" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Of course you are right. Perhaps I should have said for sites that are
>> less than about 100 pages, and on which the representative page contains
>> no more than about 20-30K of code (I'm guessing this is well above the
>> median for sites built by those using FP), this will make very little
>> difference to the server.
>>
>> If you fall outside of those limits, please contack Kevin Spencer offline
>> and ask for permission.
>>
>> By the way, Kevin - you are takempis, right? Back in 1998, when I first
>> started serious web development, you rescued me with your tutorials more
>> than once. I've wanted to thank you ever since....
>>
>> --
>> Murray
>> ============
>>
>> "Kevin Spencer" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> I'm not sure I would have put it that way, Murray. Ed probably doesn't
>>> understand what a "server-parse event" is, and might get the idea that
>>> this is a harmless thing to do. In fact, it WILL slow down performance
>>> on the server, anywhere from an infintessimally small amount to an
>>> unacceptably large amount.
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:41 PM.