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. Query String

Query String

Scheduled Pinned Locked Moved ASP.NET
databasehelpquestion
3 Posts 3 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.
  • S Offline
    S Offline
    srinivaskonijeti
    wrote on last edited by
    #1

    I captured the value of Id of the browser using Request.Querystring but the problem is the value caputered had "+" symbol which is not being shown. Its taking as a concatination. How can i handle.

    K 1 Reply Last reply
    0
    • S srinivaskonijeti

      I captured the value of Id of the browser using Request.Querystring but the problem is the value caputered had "+" symbol which is not being shown. Its taking as a concatination. How can i handle.

      K Offline
      K Offline
      Kannan Ar
      wrote on last edited by
      #2

      The querystring will convert + sign to white space character. You have to write code for track this.

      R 1 Reply Last reply
      0
      • K Kannan Ar

        The querystring will convert + sign to white space character. You have to write code for track this.

        R Offline
        R Offline
        Ridge Howison
        wrote on last edited by
        #3

        You need to make sure the querystring is URL Encoded. I use the following function that i find useful Public Function Encrypt_UrlEncode(ByVal textToEncrypt As String) As String Try Return System.Web.HttpUtility.UrlEncode(textToEncrypt, System.Text.Encoding.Default) Catch ex As Exception Throw ex End Try end function In your code before you redirect do something like this Dim queryString as string=Encrypt_UrlEncode(WhatEverStringYouWantToPassAsQueryString) response.redirect("http://www.abc.com/RedirectPage.aspx?Q=" & queryString) Good Luck RH

        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