What is Query String and what are their benefits and limitations?
The query string is the information sent to the server appended to the end of a page URL.
The benefits of using query string for state management are as follows:-
1) There is no server resources are required. The query string having the HTTP requests for a specific URL.
2) All the browsers support query strings.
The limitations of query string for state management are as follows:-
1) The Query string data is directly visible to user hence leading to security problems.-
2) Most of the browsers and client devices impose a 255-character limit on URL length.
Below is a sample "Login" query string passed in URL http://www.querystring.com/ login.asp?login=testing. This query string data can then be requested later by using Request.QueryString("login").