RE: SSI with ASP
by Chuck Evans <Chucke(at)captura.com>
|
| Date: |
Wed, 16 Aug 2000 10:48:21 -0700 |
| To: |
"'Jeff Pearson'" <dalamar(at)golden.net>, HWG Languages <hwg-languages(at)mail.hwg.org> |
| |
todo: View
Thread,
Original
|
|
Make sure your virtual path is from your server root, for example,
/includes/yourtextfile.txt, and not just the filename itself, even if the
text file and asp page are in the same directory.
---------------------------------------------------------
Chuck Evans
Web Marketing Manager
Captura Software, Inc.
(425) 424-1155
chucke(at)captura.com
http://www.captura.com
-----Original Message-----
From: Jeff Pearson [mailto:dalamar(at)golden.net]
Sent: Wednesday, August 16, 2000 9:48 AM
To: HWG Languages
Subject: SSI with ASP
Hello,
I have a question about using Server Side Includes in a dynamic page
with ASP. I have to display a "detail page" with advertiser contact
information including an image and a text description not in a database.
I can get the image to display fine (not using SSI as there is no need)
but how do I display the appropriate external text file with SSI? I have
tried virtual include and file include both using dynamic values:
<!--#include virtual="<% Request.QueryString("id") %>.txt"-->
<!--#include
virtual="<%=(rsAdvertiserDetail.Fields.Item("phone'").Value)%>.txt"-->
(The 'id' parameter contains the same value as the "phone" parameter.)
It always returns with the same error that the include file cannot be
found. As soon as it sees the next quote it thinks that is what its
looking for.
the include file'
<%=(rsAdvertiserDetail.Fields.Item(
'cannot be found
Is there another way, or will I have to place the text into the
database?
Anyone ever run into this?
Jeff Pearson
HWG: hwg-languages 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.