Query String
-
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.
-
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.
-
The querystring will convert + sign to white space character. You have to write code for track this.
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