...

View Full Version : Question about "non existing" pages...



cliekid
08-09-2004, 10:28 PM
Greets,

I was wondering about pages, that are in the code of an index page, that make a "non existant" page, such as ?c=blank.

I know how to do this in PHP, but I do not know how to make a page like this in ASP. I'm trying to build a database driven site (With just an index page), with several things like the example (?c=blank), I was wondering how / if this was possible, and if somone could give me a sample of how to do this, and where to put the specific code for *that* page. Thanks!

-Cliekid

raf
08-09-2004, 11:04 PM
welcome here!

not sure what you are talking about. The ?c=blank is just a querystring that is added to the real pageadress. But it's not a different page. It's exactly the same as in PHP.

Morgoth
08-10-2004, 05:08 AM
If you are talking about how to read the querystring this might help.



<%
Dim strc

strc = Request.QueryString("submit")

If strc = "blank" Then
%>
This page is blank
<%Else%>
This page is not blank
<%End If%>


Is this what you want?
*Only trying to help* :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum