RE: ASP Includes on pages

by "David R. Longnecker" <davidl(at)activematrixsolutions.com>

 Date:  Tue, 19 Jun 2001 09:00:50 -0500
 To:  "'Klaas De Waele'" <klaas(at)gracegraphics.be>,
"'Hwg-Techniques'" <hwg-techniques(at)hwg.org>
 In-Reply-To:  pdc
  todo: View Thread, Original
Kayjey-

I think you're onto what I'm trying to do, LOL.. but I'm not sure I
understand how to do it.

One person replied to change the table name from body since that's a
defined name.. so change it to 'content'.  I have about.asp sitting over
here with a table called 'about'.  I'd like to dynamically pull that
table across when people choose the "About" button.

Do you know of any web resources that I can check out?  I know it can be
done, but I've got to find a definition in English. *grin*

-David

-----Original Message-----
From: owner-hwg-techniques(at)hwg.org [mailto:owner-hwg-techniques(at)hwg.org]
On Behalf Of Klaas De Waele
Sent: Tuesday, June 19, 2001 4:16 AM
To: 'davidl(at)activematrixsolutions.com'; 'Hwg-Techniques'
Subject: RE: ASP Includes on pages

What you need...

URL: main.asp?REDIR=about.asp

in main.asp

response.redirect "Request.querystring("REDIR")"

in about.asp

include header
page content
include footer

OR work with a database:

in main.asp

connect to database and get the content for about.asp, display it in the
table

OR work with external file:

in main.asp include the source of a text or asp file, through Filesystem
object

My personal preference is either the first if you don't want a database;
the
second one if you also want easy control over the actual content through
a
GUI for example.  Though that's a whole other thing.


- Kayjey -




-----Oorspronkelijk bericht-----
Van: owner-hwg-techniques(at)hwg.org
[mailto:owner-hwg-techniques(at)hwg.org]Namens David R. Longnecker
Verzonden: dinsdag 19 juni 2001 8:11
Aan: Hwg-Techniques
Onderwerp: ASP Includes on pages


Hey everyone, how do you generate page content through a command in a
link using ASP and SSI?
 
Okay, I've built the basic layout of the page and called it main.asp and
created a table called 'body' that I want everything to go in.  Now, I
want to be able to call from the nav-bar like main.asp?about.asp or
something to that effect to fill to the table called 'body'.
 
Is anyone familiar with what I'm TRYING to figure out?  Any suggestions
or references would be greatly appreciated!
 
-David
 
David R. Longnecker
ActiveMatrix Solutions
http://activematrixsolutions.com <http://activematrixsolutions.com/> 
 

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA