473,786 Members | 2,571 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How many ASPState do I need?

tcw
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 or we can just use one
ASPState for all web applications? Thank you in advance.

-tc
Mar 17 '06 #1
2 1902
You can use one StateServer database for all applications.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"tcw" <tc*****@msn.co m> wrote in message news:O6******** ******@tk2msftn gp13.phx.gbl...
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
or we can just use one ASPState for all web applications? Thank you in advance.

-tc

Mar 17 '06 #2
tcw
Thanks a lot, Juan.

-tc

"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:ub******** ********@TK2MSF TNGP11.phx.gbl. ..
You can use one StateServer database for all applications.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"tcw" <tc*****@msn.co m> wrote in message
news:O6******** ******@tk2msftn gp13.phx.gbl...
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 or we can just use
one ASPState for all web applications? Thank you in advance.

-tc


Mar 17 '06 #3

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

Similar topics

0
1671
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 using the standard MS scripts. The application is used by Admins to look at endusers accounts- permissions dictate that certain admins have access to certain endusers. Our Admins (who work from the same facility) have reported problems- stating...
0
3186
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 account that can not only execute stored procedures in the AspState database, but the account needs to be able to create temporary tables, etc. as well. What do others typically do for this? Obviously, I don't want to use my sa account for this...
2
2551
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 session stuff is not returning connections to the pool and that these SPIDS are being orphaned just like when you don't call conn.Dispose() Sooner or later the aspnet_wp.exe process will recycle because it's deadlocked.
2
2257
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 SQLDataReader. I seem to have no trouble querying the "ASPStateTempSessions" table but when I try to write it to the page, I throw an exception that basically says that there is no data to display. Is there some special method you must use when performing...
0
1202
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: http://msdn.microsoft.com/library/en-us/dnaspnet/html/asp12282000.asp?frame=true system: I'm using WindowsXP Pro, .Net Framework v1.1.4322 erro: net start aspstate
0
1253
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 'dbo'.
0
1178
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 session state and have our machinekeys matched. We just launched a few days ago. We did an iisreset this morning on all 3 and tonight when things settled down I noticed we had 30 SPIDs still connected to the web apps. These SPIDs were all...
0
1251
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 session state and have our machinekeys matched. We just launched a few days ago. We did an iisreset this morning on all 3 and tonight when things settled down I noticed we had 30 SPIDs still connected to the web apps. These SPIDs were all...
1
1797
by: =?Utf-8?B?RWQ=?= | last post by:
I presently have an ASP.NET 2.0 application in production, that uses a state database "ASPState". I have another seperate application that has the same requirment. Is there any problem with using the same state "ASPState" database, for this new application. Any special configuration issues to be aware of? Thanks in advance.. -- Ed
0
9650
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10363
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9962
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7515
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6748
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4067
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.