SQL Server Session Management Mode in .NET
page 7 of 8
by Sandeep Acharya
Feedback
Average Rating: 
Views (Total / Last 10 Days): 34133/ 62

Advantages and Disadvantages of SQLServer Session Management

Advantages

It keeps the session in the database and not on the Web Server (IIS) making the server memory free for other usage.

It allows the session objects to be shared among other applications like ASP, PHP, etc.

Leads to Web farming and web gardening.

Disadvantages

Brings the performance Issues into the picture due to the Database round trips.

It also goes through the process of Serialization and De-Serialization every time, which is another overhead.

It forces all the classes whose objects are going to be stored in session declared as Serializable().

It forces you to define the class in a specific way.

It cannot use any other database except the SQL Server.


View Entire Article

User Comments

Title: SerializeData list arrays   
Name: Sachin Kulkarni
Date: 2009-05-18 5:05:50 AM
Comment:
Hi,
I read the article it is very good information. I have just one question does the SerializeData function Serialize the system.collection objects too. As you are using the .Net Serialize method.
If not how can I do it?

Thanks in advance,
sachin
Title: SQL Server Session Management Mode in .NET   
Name: Ravikumar Bhuvanagiri
Date: 2009-02-13 11:41:18 AM
Comment:
This Article is very usefull.






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-05-11 11:59:06 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search