% in QueryString changes

Results 1 to 2 of 2

Thread: % in QueryString changes

  1. #1
    Neil Locke Guest

    Default % in QueryString changes

    I passed a Querystring from a javascript window.open line. The line containes a url like "Page1.asp?Filter=(id like N&#039;%c%&#039;)" but when I read the Querystring value on top of Page1 the value is "(id like N&#039;o&#039;)" with a ~ over top of the o. Any ideas why this occurs or how to correct this?<BR><BR>Thanks in advance for any help.

  2. #2
    Reggie McToot Guest

    Default RE: % in QueryString changes

    If you put a %&#060;character&#062; in an address line it converts it to something like the ascii character. Like if you put %20 in an address line, that actually represents a space. So it&#039;s interpreting the % signs in your SQL statement as characters along with the letters following it.<BR><BR>In other words, %c = an o with a ~ over it.

Posting Permissions

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