Moving Session Sate from InProc to SQLServer

1 reply. Last post: July 12, 2010 3:09 AM by Glenn Layaar
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Scott FrenchMember

Hello,

We are in the early stages of development on moving our application's Session State from InProc to SQLServer. Up until now we've worked through serialization issues and other simple errors related to the change. Just recently we loaded a very large dataset into a WebGrid and ran into the error attached. After some testing we've found it's possible to get this 'Out Of Memory' error quite consistently when loading large numbers of rows into a WebGrid (version 7), especially when the machine is running low on RAM. We never received an error before moving to SQLServer session state mode but the performance of the grid in relation to combo boxes often suggested our session state was being recycled when too much information was loaded into the grid.

Can you offer any advice or direction on implementing this functionality without causing errors? In a perfect world we would not have grids that load so many rows in but in actual practice it often occurs. I would attach a sample project but for the SQLServer Session State mode to work you need to directly reference a SQL server and I don't know your internal setup.

Thanks in advance for any feedback,
Scott French
Sierra Data Systems

All times are GMT -5. The time now is 11:45 PM.
Previous Next