Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. XML Compliant QueryString

XML Compliant QueryString

Scheduled Pinned Locked Moved ASP.NET
csharpwindows-adminxml
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dshanks
    wrote on last edited by
    #1

    :confused: I am wanting to use semicolons( ; ) to separate my querystring parameters. And I would like to do this without extending/overriding HttpRequest; Does anyone know of a setting in IIS or .NET that allows you to use this feature. I want to eliminate the ampersands from the querystring Don Shanks U of W dshanks@nyet.spam.please.washington.edu

    A M U 3 Replies Last reply
    0
    • D dshanks

      :confused: I am wanting to use semicolons( ; ) to separate my querystring parameters. And I would like to do this without extending/overriding HttpRequest; Does anyone know of a setting in IIS or .NET that allows you to use this feature. I want to eliminate the ampersands from the querystring Don Shanks U of W dshanks@nyet.spam.please.washington.edu

      A Offline
      A Offline
      Aryadip
      wrote on last edited by
      #2

      Hi, I don't know a way to do this but I have a suggestion for you... you can pass the entire semicolon seperated string in a single query string and then parse the querystring in the next page. what I mean is : http://myServer/test.aspx?qs=a;b;c;d and then in next page parse the querystring qs and then split the string with ";" hope this solves ur prob... regards, Aryadip. Cheers !! and have a Funky day !!

      1 Reply Last reply
      0
      • D dshanks

        :confused: I am wanting to use semicolons( ; ) to separate my querystring parameters. And I would like to do this without extending/overriding HttpRequest; Does anyone know of a setting in IIS or .NET that allows you to use this feature. I want to eliminate the ampersands from the querystring Don Shanks U of W dshanks@nyet.spam.please.washington.edu

        M Offline
        M Offline
        manishgour
        wrote on last edited by
        #3

        hi, Check the HTMLENOCODE and HTMLDECODE functions in .net http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWebHttpServerUtilityClassHtmlEncodeTopic1.asp -Manish

        1 Reply Last reply
        0
        • D dshanks

          :confused: I am wanting to use semicolons( ; ) to separate my querystring parameters. And I would like to do this without extending/overriding HttpRequest; Does anyone know of a setting in IIS or .NET that allows you to use this feature. I want to eliminate the ampersands from the querystring Don Shanks U of W dshanks@nyet.spam.please.washington.edu

          U Offline
          U Offline
          User 642242
          wrote on last edited by
          #4

          The use of ampersands within the querystring is part of th http specification. If you want to use ; instead you will have to abandon the use of the Querystring collection object and grab the raw url and parse the information yourself. Are you trying to store a URL into an xml document? If that is the problem, why not just encode the url correctly eg. http://www.myweb.co.uk/somepage.aspx?arg1=2&arg2=3

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups