Saturday, July 19, 2014

Advantages and disadvantages of Session?

Following are the basic advantages and disadvantages of using session. I have describe in details with each type of session at later point of time.

Advantages:

  • It helps maintain user state and data all over the application.
  • It is easy to implement and we can store any kind of object.
  • Stores 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 StateServerand SQLServer session modes, we need to serialize the objects before storing them.
Besides these, there are many advantages and disadvantages of session that are based on the session type. I have discussed all of them in the respective sections below.

Related Posts:

  • 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
  • Remoting.Net vs Web Services Both .Net Web services and .Net Remoting are Microsoft solutions for distributed application. Before choosing one of them for application development, let’s identify the differences between these technologies. Protocol .Ne… 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
  • 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