RE: ASP Includes on pages

by Klaas De Waele <klaas(at)gracegraphics.be>

 Date:  Tue, 19 Jun 2001 11:16:18 +0200
 To:  "'davidl(at)activematrixsolutions.com'" <davidl(at)activematrixsolutions.com>,
"'Hwg-Techniques'" <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
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

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.