If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > news web site

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-22-03, 21:07
jrahma jrahma is offline
Registered User
 
Join Date: Apr 2003
Posts: 101
news web site

I want to develop a local news web site using MS SQL 2000 and ASP but I need to know how can not show a link like:

domain.com/path/file.asp?id=999

indicates the primary key number....


I want to use something like:

domain.com/path/year/month/day/serial.asp
Reply With Quote
  #2 (permalink)  
Old 05-25-03, 05:14
rhs98 rhs98 is offline
Super Moderator
 
Join Date: Feb 2002
Location: Hampshire, UK
Posts: 441
Read the basics of ASP tutorial on http://www.w3schools.com
Reply With Quote
  #3 (permalink)  
Old 05-25-03, 18:36
jrahma jrahma is offline
Registered User
 
Join Date: Apr 2003
Posts: 101
yeh..thanks...

but where to get that?

there are toomany lessons...
Reply With Quote
  #4 (permalink)  
Old 06-04-03, 01:31
Bullschmidt Bullschmidt is offline
Guru
 
Join Date: Jun 2003
Location: USA
Posts: 1,032
__________________
J. Paul Schmidt, Freelance Web and Database Developer
www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Reply With Quote
  #5 (permalink)  
Old 06-04-03, 05:36
jrahma jrahma is offline
Registered User
 
Join Date: Apr 2003
Posts: 101
listen,

I think I was not clear..

Just to explain...

As per my knowledge, news web sites are using database to maintan their news posts but if I am going to use that I should refer to the primary key in the database files and use file.asp?id=999

but I found most of the major site are not using the method, they are using something like domain.com/news_year/news_month/news_daty/serial_number.asp which I think they are extracing from a database field (e.g. news_date), so how can I do that?

do I need to read from the database and create temp folders and files on the server each time the access the news?

Many Thanks,
Jassim Rahma
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On