473,386 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

ASPState DB - Good/Bad?

Can anyone share any "gotchas" that they may have run into using the
ASPState DB that you can create from the ASP.NET sql script?
Nov 19 '05 #1
2 1128
If you are moving from InProc mode to keeping session state in SQL
Server - one gotcha is that the objects have to be serializable for
SQL session state. The runtime will throw exceptions if the objects
are not serializable.

There is also some performance overhead.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Thu, 17 Feb 2005 10:38:28 -0600, "K-Dub" <kc@none.edu> wrote:
Can anyone share any "gotchas" that they may have run into using the
ASPState DB that you can create from the ASP.NET sql script?


Nov 19 '05 #2
If you do that, make sure you aren't depending on the Session_End event
getting triggered, since it doesn't fire with that kind of session state.

"K-Dub" <kc@none.edu> wrote in message
news:e2**************@TK2MSFTNGP09.phx.gbl...
Can anyone share any "gotchas" that they may have run into using the
ASPState DB that you can create from the ASP.NET sql script?

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tony | last post by:
We are a software company that builds an ASP.Net web application which implements cookieless sessionState with SQLServer- the session is stored in the url. Our ASPState database has been built...
0
by: Bryan Ax | last post by:
Quick question regarding best practices for using the AspState database for storing session variables in .NET web applications. I know I need to configure the web.config file with a database user...
2
by: Kevin Jackson | last post by:
We are stress testing our application. We see 100 SPIDS connected to the ASPSTATE and then the pages request per unit time slow down to barely nothing. It appears that somehow the ASP.NET...
2
by: Glenn Venzke | last post by:
I'm trying to put together a web form that lists all current session information. The session info is stored in SQL server database (ASPState) and I'm trying to retreive and display using a...
0
by: Eduardo Rosa | last post by:
Hi, I'm reading a ms tutorial about session in asp.net, and I' can't start the aspstate, somebody can help me? tutorial:...
0
by: david | last post by:
How to create the user for ASPSTATE? I got error: Exception Details: System.Data.SqlClient.SqlException: EXECUTE permission denied on object 'TempGetStateItemExclusive2', database 'ASPState', owner...
2
by: tcw | last post by:
We would like to use ASPState to handle the session State. Since we have several web applications (web sites) in our web server, do we have to create an ASPState database for each web application...
0
by: msnews.microsoft.com | last post by:
We are running a ASP.NET 1.1 web app on Windows Server 2003 SP1. We are using IIS 6.0 native mode and .NET 1.1 SP1 is installed. We have 3 web apps in our web farm. We are using SQLServer...
0
by: Kevin Jackson | last post by:
We are running a ASP.NET 1.1 web app on Windows Server 2003 SP1. We are using IIS 6.0 native mode and .NET 1.1 SP1 is installed. We have 3 web apps in our web farm. We are using SQLServer...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.