What is Query String and What are benefits and limitations of using

Q

What is Query String and What are benefits and limitations of using Query Strings?

✍: Guest

A

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.
Below is a sample gLoginh 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”).

2007-10-23, 5137👍, 0💬