Saturday, July 19, 2014

What are the Advantage and disadvantage of Session?

Ans: Advantages:
Session provide us the way of maintain user state/data.
It is very easy to implement.
One big advantage of session is that we can store any kind of object in it. :eg, datatabe, dataset.. etc
By using session we don't need to worry about data collesp, because it store every client data separately.
Session is secure and transparent from the user.
Disadvantages:
Performance overhead in case of large volumes of data/user, because session data is stored in server memory.
Overhead involved in serializing and de-serializing session data, because in the case of StateServer and SQLServer session modes, we need to serialize the objects before storing them.

Related Posts:

  • What is .Net Web Service? Web service is the way to publish application's function on web that can be accessible to the rest of the world. Web services are the components that can be used by other applications ASP.NET offers easy way… Read More
  • Testing and consuming a .Net web service. Testing a Web Service .NET has a test web page that ASP.NET uses automatically when you request the URL of an .asmx file in a browser. This page uses reflection to read and show information about the web services, such as … Read More
  • Define the specifications that help in the discovery of a web service. DISCO DISCO, an abbreviation of discovery, is a file that groups together a list of related web services. A company that offers web services publishes a DISCO file on its server that has links of all the web services it pr… Read More
  • Explain the protocols a .Net Web Service uses. In .Net, a web service is bind with three different protocols such as HTTP/POST,  HTTP/GET, and SOAP. This allows client with three options to choose for  communication. The protocols are included in the WSD… Read More
  • Deploying a Web Service Deploying the .Net Web Services is as simple as any ASP.NET application. Similar to ASP.NET applications, you need to copy or upload the .ASMX file and the .DISCO files to the appropriate directories, and that's it.  … Read More

0 comments:

Post a Comment