473,386 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Dynamic ASP Page?

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.

Jul 22 '05 #1
5 1216
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

Jul 22 '05 #2
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" <sp**@spam.net> wrote in message
news:O1**************@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.

Jul 22 '05 #3
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:%2****************@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" <sp**@spam.net> wrote in message
news:O1**************@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.


Jul 22 '05 #4


"DavidM" <sp**@spam.net> wrote in message
news:ON**************@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/wayne...es/default.asp

Plenty more info on Google.

Tim.
Jul 22 '05 #5
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" <sp**@spam.net> wrote in message
news:ON**************@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:%2****************@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" <sp**@spam.net> wrote in message
news:O1**************@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.



Jul 22 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Daniel Keller | last post by:
Hello! I'm trying to set up a page system using "dynamic" SSI. That means that I normally use the following on my website: <!--#include virtual="file.inc" --> Now I want to make this...
1
by: Nathan Bloomfield | last post by:
Does anyone know if there is any documentation which relates to Access2k + ? or can anyone help adjust the code? I am having trouble converting the DAO references. TITLE :INF: How to...
3
by: Leo J. Hart IV | last post by:
OK, here's another question for the experts: I am building a multi-step (3 steps actually) form using a panel for each step and hiding/displaying the appropriate panel/panels depending on which...
3
by: WebBuilder451 | last post by:
I have a series of dynamic link buttons created based upon a datareader. I've added a click event and it calls the sub ok: example: "while loop through the reader" Dim ltrCtrl As New...
7
by: Abraham Luna | last post by:
how do i stop the dynamic validators from breaking explorer if i use a dynamic validator and move to a different control it breaks explorer and i can type in the page when i'm not supposed to....
3
by: NateDawg | last post by:
I'm reposting this. I'm kinda in a bind untill i get this figured out, so if anyone has some input it would sure help me out. Ok, I’ve noticed a few gridview problems floating around the forum....
10
by: jflash | last post by:
Hello all, I feel dumb having to ask this question in the first place, but I just can not figure it out. I am wanting to set my site up using dynamic urls (I'm assuming that's what they're...
5
by: pittendrigh | last post by:
There must be millions of dynamically generated html pages out there now, built by on-the-fly php code (and jsp, perl cgi, asp, etc). Programatic page generation is transparently useful. But...
9
by: pbd22 | last post by:
Hi. This is just a disaster management question. I am using XMLHTTP for the dynamic loading of content in a very crucial area of my web site. Same as an IFrame, but using XMLHTTP and a DIV. I...
5
by: bearophileHUGS | last post by:
I often use Python to write small programs, in the range of 50-500 lines of code. For example to process some bioinformatics data, perform some data munging, to apply a randomized optimization...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.