By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,162 Members | 1,038 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,162 IT Pros & Developers. It's quick & easy.

Server side Request parameters decoding

P: 2
Hi all! I want to send the POST request to my asp web server. That POST request contains one parameter, which has cyrillic symbols. When my server recieves that request, it shows me an error window "Value can not be undefined..."

I transform my query string on the client side:
Expand|Select|Wrap|Line Numbers
  1. requestString = HttpUtility.UrlEncode(requestString);
  2.  
But it does not help me. How I need to decode that string on the server side?

Sorry for my English :)
May 16 '13 #1
Share this Question
Share on Google+
1 Reply


P: 2
Oh I found the method, wich helped me to convert my client request string correctly.
It is:
Expand|Select|Wrap|Line Numbers
  1. requestString = Uri.EscapeUriString(requestString);
  2.  
After that encoding we do not need to convert request string on the server side
May 16 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.