Results 1 to 4 of 4

Thread: Request object problem - bad*ss Guru's needed!!

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2001
    Location
    LoCal
    Posts
    280

    Exclamation Request object problem - bad*ss Guru's needed!!

    Ok, this has been driving me insane for a couple of days now...

    Somehow, for some reason, my request object QueryString collection becomes inaccessible on my pages.

    Essentially I have one page that has links to another page and passes some parameters through the query string, but the second page is unable to read the query string collection.

    For example, the following link is contained in the first page:
    Code:
    <a href='article.asp?id=5'>View article number 5</a>
    In the second page (article.asp) I have tried the following:
    Code:
    myID = Request.QueryString("id")
    ---
    myID = Request("id")
    ---
    Response.Write Request.QueryString("id")
    None of those produce an output!

    If I simply write out the QueryString:
    Code:
    Response.Write Request.QueryString
    I get something like: id+A0-5

    This happens only on one of the sites I'm developing. All the other sites I'm building on this machine work perfectly which leads me to believe that it's something to do with this site in particular.

    Initially I thought it might be a problem with calling SQL2000 directly from ASP through connection/recordsets but I've tried building an ActiveX dll for the database interaction but that doesn't solve the problem.

    Lastly, the first time you follow one of the links everything works fine. After that, the querystring collection is inaccessible.

    I have then tried to restart services, etc, but it doesn't seem to help at all.

    Has anyone seen anything like this in the past? I have tried searching MSDN but I can't find any information that helps.

    HELP! Anyone, please.

    IIS 5.0
    W2K Pro SP2
    VB6EE SP5
    SQL2000 (dev ed)

    Thanks,
    Santiago
    Achichincle

    VB6 (VSEE SP5, W2KPro)
    ASP
    HTML

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2001
    Location
    LoCal
    Posts
    280
    ... please?
    Achichincle

    VB6 (VSEE SP5, W2KPro)
    ASP
    HTML

  3. #3
    Junior Member
    Join Date
    Aug 2001
    Location
    Cali
    Posts
    21
    replace the 's with "s.

    href="..."

    that should work...

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2001
    Location
    LoCal
    Posts
    280
    Turns out my system got corrupted for some reason. Something I installed got some of my dll's out of what.

    Rebuilt the computer and everything went back to normal.

    Thanks anyway.
    Achichincle

    VB6 (VSEE SP5, W2KPro)
    ASP
    HTML

Posting Permissions

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



Click Here to Expand Forum to Full Width