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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| "Understanding Session State Modes" - to help you to understand the difference between the three modes of session state in DOT NET. |
| Sponsored Links |
| |||
| 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. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
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 |