Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question about "non existing" pages...

    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

  • #2
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.
    Posting guidelines I use to see if I will spend time to answer your question : http://www.catb.org/~esr/faqs/smart-questions.html

  • #3
    Senior Coder Morgoth's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada Remaining Brain Cells: 6
    Posts
    1,402
    Thanks
    2
    Thanked 1 Time in 1 Post
    If you are talking about how to read the querystring this might help.

    Code:
    <%
    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*


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •