A simple but most frequently asked ASP.NET interview question.
A query string is information sent to the server appended to the end of a page URL.
Following are the benefits of using query string for state management:-
·No server resources are required. The query string containing in the HTTP requests for a specific URL.
·All browsers support query strings.
Following are limitations of query string:-
·Query string data is directly visible to user thus leading to security problems.-
· Most browsers and client devices impose a 255-character limit on URL length.
See the righthandside video on ASP.NET for importance of session and viewstate:-
