[thelist] ASP SSI Question

Feingold Josh S Josh.S.Feingold at irs.gov
Thu Feb 28 09:24:12 CST 2002


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
Maybe - but when I fixed it I realized that my main issue might be that SSI
is not accepting ?id=4 in the SSI call.

When I do this:
 <!-- #include file="page.asp" -->
the page is found, but this
 <!-- #include file="page.asp?id=<%=rs("x")%>" -->
results in a page not found error.

Any ideas?
Josh


-----Original Message-----
From: Salvatore Palmisano [mailto:spalmisano at usashs.com]
Sent: Thursday, February 28, 2002 9:59 AM
To: thelist at lists.evolt.org
Subject: RE: [thelist] ASP SSI Question


Thats because you're 'commenting out' the x parameter within your ASP
script.
The single quote is the comment character; use the double quote, like so:

do while not recordset.eof
%>
   <!-- #include file="page.asp?id=<%=rs("x")%>" -->
<%
loop

.Salvatore

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Feingold Josh S
Sent: Thursday, February 28, 2002 9:43 AM
To: 'thelist at lists.evolt.org'
Subject: [thelist] ASP SSI Question

I have a page which displays data depending on the Query String. e.g.
page.asp?id=1 is different than page.asp?id=2.  The different possible
values of this Query String comes from a database.

Something like:

do while not recordset.eof
%>
   <!-- #include file="page.asp?id=<%=rs('x')%>" -->
<%
loop

Thanks,
Josh

--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !



More information about the thelist mailing list