Hello,
How can we use DB2 as AP.NET session database ?
Our app is hosted on windows 2012 server using .Net 4.5 framework.
thanks, Sri
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.
https://msdn.microsoft.com/en-us/library/ms178587.aspx
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.