Results 1 to 3 of 3

Thread: ASP's Request.QueryString..

  1. #1
    Sublime HEXUS.net
    Join Date
    Jul 2003
    Location
    The Void.. Floating
    Posts
    11,819
    Thanks
    213
    Thanked
    233 times in 160 posts
    • Stoo's system
      • Motherboard:
      • Mac Pro
      • CPU:
      • 2*Xeon 5450 @ 2.8GHz, 12MB Cache
      • Memory:
      • 32GB 1600MHz FBDIMM
      • Storage:
      • ~ 2.5TB + 4TB external array
      • Graphics card(s):
      • ATI Radeon HD 4870
      • Case:
      • Mac Pro
      • Operating System:
      • OS X 10.7
      • Monitor(s):
      • 24" Samsung 244T Black
      • Internet:
      • Zen Max Pro

    ASP's Request.QueryString..

    Okies, I'm using a query string to build an SQL statement for page generation on a company intranet (*shudder* @ ASP, but that's what I've got to use...), I've got the page working if you call the file via - http://webserver/intranet/default.asp?Page=other

    But seeing as it's using the default page it should also be able to work with - http://webserver/intranet/?Page=other ..but it doesn't, it completely ignores the querystring and jumps into the default error trap..

    Any Ideas?
    (\__/)
    (='.'=)
    (")_(")

  2. #2
    Senior Member Shad's Avatar
    Join Date
    Jul 2003
    Location
    In front
    Posts
    2,773
    Thanks
    22
    Thanked
    40 times in 24 posts
    Quote Originally Posted by Stoo
    (*shudder* @ ASP, but that's what I've got to use...)


    If the webserver is running anything less than IIS5 then this behaviour isn't supported. Also check your urlscan.ini to make sure it's not been disabled there.

    You can debug in the page to see what is being given by the Request object...
    Code:
    With Response
      For each thing in Request.Querystring
        .write "<!-- Request.Querystring("" & thing & "") = " & Request.Querystring(thing) & " -->" & vbcrlf
      Next
    End with
    This is of course assuming that default.asp IS listed as a default document. Double check that it is and that you don't have any other documents in the directory that would class as a default document, that are listed above default.asp (e.g. default.aspx, default.htm, etc).
    Simon


  3. #3
    Sublime HEXUS.net
    Join Date
    Jul 2003
    Location
    The Void.. Floating
    Posts
    11,819
    Thanks
    213
    Thanked
    233 times in 160 posts
    • Stoo's system
      • Motherboard:
      • Mac Pro
      • CPU:
      • 2*Xeon 5450 @ 2.8GHz, 12MB Cache
      • Memory:
      • 32GB 1600MHz FBDIMM
      • Storage:
      • ~ 2.5TB + 4TB external array
      • Graphics card(s):
      • ATI Radeon HD 4870
      • Case:
      • Mac Pro
      • Operating System:
      • OS X 10.7
      • Monitor(s):
      • 24" Samsung 244T Black
      • Internet:
      • Zen Max Pro
    aha.. it's not running IIS5 on the test server.. bugger.

    Just installed IIS5 on my desktop and it works, oh well, at least it'll work when we finally get the budget for our development server..
    (\__/)
    (='.'=)
    (")_(")

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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