Dynamic ASP Page?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS ASP > Dynamic ASP Page?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Dynamic ASP Page?  
DavidM


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-18-04 10:48 PM

Hi all - I've been wondering how folks do this for some time...

I've noticed when I go to various websites to read online articles, when the
link is clicked, I frequently see a file such as NewsArticle-17229.asp.

The ASP file is totally different for each article.

How is this done?

Is there an ASP file created that is unique for each article?

The # on the end appears to change.

Any help would be appreciated.








[ Post a follow-up to this message ]



    Re: Dynamic ASP Page?  
wayne-o


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-18-04 10:48 PM

I guess this is possible. Maybe they have a CMS which rather than
punching all of the content into a DB they create a file on the fly and
only store reference to the filename. I have noticed the same thing,
but I am yet to figure out the benefits, sometimes they are straight
HTML pages.


w






[ Post a follow-up to this message ]



    Re: Dynamic ASP Page?  
Tim Williams


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-18-04 10:48 PM

Custom 404?
The page itself perhaps does not exist at all, and the custom 404 just
creates the required content based on the article id (17229)  ?

http://www.4guysfromrolla.com/webtech/123000-1.shtml

Tim.

"DavidM" <spam@spam.net> wrote in message
news:O1J3kBT5EHA.3416@TK2MSFTNGP09.phx.gbl...
> Hi all - I've been wondering how folks do this for some time...
>
> I've noticed when I go to various websites to read online articles,
> when the link is clicked, I frequently see a file such as
> NewsArticle-17229.asp.
>
> The ASP file is totally different for each article.
>
> How is this done?
>
> Is there an ASP file created that is unique for each article?
>
> The # on the end appears to change.
>
> Any help would be appreciated.
>
>
>







[ Post a follow-up to this message ]



    Re: Dynamic ASP Page?  
DavidM


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-19-04 01:46 AM

Does this mean they may have some URL ReWrite or something setup and a mask
to simply run a page based on the article ID?

The previous poster who mentioned CMS possible writing a cache file out
sounds plausible.

I'm not sure of the advantages of having umpteenth ASP pages just to display
a single article.

Seems to me that having one page that dynamically reads/displays the article
based on the passed URL would be ideal.

Opinions?




"Tim Williams" <saxifrax@pacbell*dot*net> wrote in message
news:%23o3jQTU5EHA.3784@TK2MSFTNGP10.phx.gbl...
> Custom 404?
> The page itself perhaps does not exist at all, and the custom 404 just
> creates the required content based on the article id (17229)  ?
>
> http://www.4guysfromrolla.com/webtech/123000-1.shtml
>
> Tim.
>
> "DavidM" <spam@spam.net> wrote in message
> news:O1J3kBT5EHA.3416@TK2MSFTNGP09.phx.gbl... 
>
>







[ Post a follow-up to this message ]



    Re: Dynamic ASP Page?  
Tim Williams


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-19-04 01:46 AM



"DavidM" <spam@spam.net> wrote in message
news:ONxvv0V5EHA.1524@TK2MSFTNGP09.phx.gbl...
> Does this mean they may have some URL ReWrite or something setup and
> a mask to simply run a page based on the article ID?

That sounds more or less how it works


> The previous poster who mentioned CMS possible writing a cache file
> out sounds plausible.

Also a possible approach, unless you have thousand of pages to
generate and update.

> I'm not sure of the advantages of having umpteenth ASP pages just to
> display a single article.
>
> Seems to me that having one page that dynamically reads/displays the
> article based on the passed URL would be ideal.
>

See this page:
http://www.asp101.com/articles/wayn...mes/default.asp

Plenty more info on Google.

Tim.







[ Post a follow-up to this message ]



    Re: Dynamic ASP Page?  
Ben Strackany


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-21-04 10:55 PM

Custom 404 would be the way to go unless you start to max out on
performance. Then it may be worth it to generate all those files once from a
database or script.

--
Ben Strackany
www.developmentnow.com


"DavidM" <spam@spam.net> wrote in message
news:ONxvv0V5EHA.1524@TK2MSFTNGP09.phx.gbl...
> Does this mean they may have some URL ReWrite or something setup and a
mask
> to simply run a page based on the article ID?
>
> The previous poster who mentioned CMS possible writing a cache file out
> sounds plausible.
>
> I'm not sure of the advantages of having umpteenth ASP pages just to
display
> a single article.
>
> Seems to me that having one page that dynamically reads/displays the
article
> based on the passed URL would be ideal.
>
> Opinions?
>
>
>
>
> "Tim Williams" <saxifrax@pacbell*dot*net> wrote in message
> news:%23o3jQTU5EHA.3784@TK2MSFTNGP10.phx.gbl... 
when[vbcol=seagreen] 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:11 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register