IT Community - Software Programming, Web Development and Technical Support

"Understanding Session State Modes" - to help you to understand the difference betwee

This is a discussion on "Understanding Session State Modes" - to help you to understand the difference betwee within the ASP and ASP.NET Programming forums, part of the Web Development category; "Understanding Session State Modes" - to help you to understand the difference between the three modes of session state ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-24-2007, 12:41 AM
Archer Archer is offline
D-Web Programmer
 
Join Date: Jun 2007
Posts: 52
Archer is on a distinguished road
Question "Understanding Session State Modes" - to help you to understand the difference betwee

"Understanding Session State Modes" - to help you to understand the difference between the three modes of session state in DOT NET.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-24-2007, 12:44 AM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 633
oxygen is on a distinguished road
Default Re: "Understanding Session State Modes" - to help you to understand the difference be

Storage location
InProc - session kept as live objects in web server (aspnet_wp.exe)

StateServer - session serialized and stored in memory in a separate process aspnet_state.exe). State Server can run on another machine

SQLServer - session serialized and stored in SQL server

Performance
InProc - Fastest, but the more session data, the more memory is consumed on the web server, and that can affect performance.

StateServer - When storing data of basic types (e.g. string, integer, etc), in one test environment it's 15% slower than InProc. However, the cost of serialization/deserialization can affect performance if you're storing lots of objects. You have to do performance testing for your own scenario.

SQLServer - When storing data of basic types (e.g. string, integer, etc), in one test environment it's 25% slower than InProc. Same warning about serialization as in StateServer.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between "vector" and "array"? Sabari C and C++ Programming 1 07-24-2007 04:33 AM
Difference between "printf" and "sprintf". Sabari C and C++ Programming 1 07-23-2007 06:23 AM
What is the difference between "calloc" and "malloc"? Sabari C and C++ Programming 1 07-23-2007 06:08 AM
Difference between "APPLET" and "APPLICATION" prasath Java Programming 1 07-17-2007 07:51 AM
Difference between a "assignment operator" and a "copy constructor"? vigneshgets C and C++ Programming 2 07-12-2007 05:30 AM


All times are GMT -7. The time now is 08:55 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0