|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Application and Session state stored in SQL ServerHi,
I know how to store Session state in SQL Server, but I'm not sure if the Application state is also stored in SQL Server. There is a table named ASPStateTempApplications in tempdb database, but it seems useless. I say this because I reset IIS and see that application state is reset. Will application state be stored in SQL Server (or state server) ? Hi Michael,
From the documentation, it looks like you can only store application state in memory. However, you can include the start-up values in various places, including the new the StaticObjects collection. http://msdn2.microsoft.com/en-us/library/ms178594.aspx Ken Microsoft MVP [ASP.NET] Show quoteHide quote "Michael" <huanlin.t***@gmail.com> wrote in message news:uGbBnwY8FHA.3636@TK2MSFTNGP09.phx.gbl... > Hi, > I know how to store Session state in SQL Server, > but I'm not sure if the Application state is also > stored in SQL Server. > There is a table named ASPStateTempApplications > in tempdb database, but it seems useless. I say this > because I reset IIS and see that application state is > reset. > > Will application state be stored in SQL Server > (or state server) ? > Hi Ken,
Thank you for the information, it's helpful :) Michael Show quoteHide quote > Hi Michael, > > From the documentation, it looks like you can only store application state > in memory. However, you can include the start-up values in various places, > including the new the StaticObjects collection. > > http://msdn2.microsoft.com/en-us/library/ms178594.aspx > > Ken > Microsoft MVP [ASP.NET] >
Other interesting topics
How to add a small HTML table under a row of a GridView
Application["TotalPlayings"]++ doesn't work Visual Web Developer Express How do I build Code-behind into DLL in bin folder Source Control Products??? Downloading file from database Problem Running ASP.NET/ASP App Under VS 2005 ASP classic -> ASP.NET 2.0 A translatable website Cannot display Chinese data from database specifying a query string in an href dynamically |
|||||||||||||||||||||||