How Two Applications Can Use One ASPState Database

how two or more applications can use one ASPState database.

I have implemented SQL Server Session Management. I have some applications deployed in my IIS where I want to implement SQL Server session management, so I have ASPState DB, I want to share this DB for all applications.

DB database


source to share

1 answer

If you are using the default ASPState database created with the supplied SQL scripts provided with .NET, the database is already shared. Just set up each application for one database. Session state is isolated in db using application id from IIS (i.e. / W3SVC / 2165464565) so there is no data collision.



All Articles