Click here to hide categories Click here to show left categories

User: Home          welcome : Guest          Log In / Register here     

QuestPond’s Interview Questions & Answers on learning ASP.NET

Explain Query String in ASP.NET and what are benefits and limitations of using Query Strings?

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 “Login” query string passed in URL

This query string data can then be requested later by using Request.QueryString(“login”).

Click and see here for more training on ASP.NET.

Helpful Website Url
Share this article   |    Print    |    Article read by 2597 times
Shivprasad koirala Koirala
I am a Microsoft MVP for ASP/ASP.NET and currently a CEO of a small E-learning company in India. We are very much active in making training videos , writing books and corporate trainings. Do visit my site for .NET, C# , design pattern , WCF , Silverlight , LINQ , ASP.NET , ADO.NET , Sharepoint , UML , SQL Server training and Interview questions and answers
Related Articles:
Related Interview Questions: