Last post Jan 10, 2017 09:58 PM by deepalgorithm
Jan 10, 2017 09:27 PM|srik022|LINK
How can we use DB2 as AP.NET session database ?
Our app is hosted on windows 2012 server using .Net 4.5 framework.
Jan 10, 2017 09:58 PM|deepalgorithm|LINK
Out of the box, ASP.NET Session state database is only supported on SQL Server. You can however implement your own Session State Provider. It's a fair amount of work though.
To implement a session-state store provider, create a class that inherits the SessionStateStoreProviderBase abstract class. The SessionStateStoreProviderBase class
in turn inherits the ProviderBase abstract class, so you must implement the required members of the ProviderBase class
as well. The following tables list the properties and methods that you must implement from the ProviderBase and SessionStateStoreProviderBase abstract
classes and provides a description of each. To view an implementation of each member, see Sample Session-State Store Provider.