RE: ASP Includes on pages

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

 Date:  Fri, 22 Jun 2001 10:19:27 +0200
 To:  =?iso-8859-1?Q?=27St=E9phane_Bergeron=27?= <stephberg(at)videotron.ca>,
"'hwg-techniques(at)hwg.org'" <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
What you can't do is things like this...

Response.write "<!-- include virtual=3D""" & =
request.querystring("page") &
".asp"" -->"

- Kayjey -


-----Oorspronkelijk bericht-----
Van: owner-hwg-techniques(at)hwg.org
[mailto:owner-hwg-techniques(at)hwg.org]Namens St=E9phane Bergeron
Verzonden: donderdag 21 juni 2001 22:13
Aan: hwg-techniques(at)hwg.org
Onderwerp: RE: ASP Includes on pages


The parser will indeed process the includes first but will display only =
the=20
included text that the if statements allows so for all purposes this =
works=20
fine and probably puts a lighter load on the server than using the=20
FileSystem Object.

HTH!

St=E9phane Bergeron

At 13:11 2001-06-21 -0400, you wrote:
>I was under the impression that you couldn't actually do this, though.
>Because the parser will process the include first, then the ASP code. =
So
all
>includes on the page would be loaded before any ASP code was run? =
Haven't
>tried it yet, but something in the back of my mind tells me that is =
so.
Most
>likely you would have to go with a FileSystem Object and stream the =
code in
>through that... HTH...

=20

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.