Questions tagged [session-state-provider]
37 questions
7
votes
2 answers
How can I slowly migrate to using Redis as a Session State Provider from in process?
Is it a bad idea to implement my own session state provider that conditionally switches based on key between the redis session provider and the inproc session provider?
I am working in a very large legacy asp.net application that currently uses the…

Nick BL
- 363
- 2
- 13
7
votes
4 answers
How to define connection string for session state in Azure
I am using the RedisSessionStateProvider using a procedimient like this https://azure.microsoft.com/en-us/documentation/articles/web-sites-dotnet-session-state-caching/
I define its connection string in web.config, in this example is XXXXXX.
…

Ricardo Polo Jaramillo
- 12,110
- 13
- 58
- 83
5
votes
2 answers
Using WCF DataContract in MVC SessionState using AppFabric cache
I have a Data Access Layer, a Service Layer, and a Presentation Layer. The Presentation Layer is ASP.NET MVC2 RTM (web), and the Service Layer is WCF (services). It's all .NET 3.5 SP1.
The problem is that in the services, the objects being returned…

jamiebarrow
- 2,473
- 3
- 30
- 51
3
votes
2 answers
Configure Redis Session State on Azure
I've got the Redis Session State Provider working fine locally with my ASP.Net site and in Azure with my Azure Website. But I've got a question about configuration...
Is there any way to store the configuration for that in the Azure Website…

Salam
- 33
- 3
3
votes
1 answer
How session state provider set in Application_Start
I need ability to set the session state provider in code rather than web.config. I have tried adding in code in Application_Start
System.Configuration.Configuration _configuration =…

chugh97
- 9,602
- 25
- 89
- 136
2
votes
2 answers
Implementing custom session state provider in ASP.NET MVC
I'm working on implementing a custom session state provider for my ASP.NET MVC application. My requirement is I've to store the session data as xml in a custom table in Sql server.
Can I use the existing sql session state provider (overriding some…

VJAI
- 32,167
- 23
- 102
- 164
2
votes
2 answers
Object reference error during custom session state provider initialization
I have written a custom session state provider which works fine in debug mode but once deployed on the server (IIS 6) i get the following error:
Event code: 3008
Event message: A configuration error has occurred.
Event time: 10/7/2011 3:05:02 PM…

Vinay B R
- 8,089
- 2
- 30
- 45
2
votes
2 answers
Implementing Custom Session State Store Provider in dotnet core
I was just planning to implement a custom session state provider for a distributed cache product in .net core but I could not find SessionStateStoreProviderBase and related classes in dotnet core. Can somebody tell me where to find them?

Haseeb Jadoon
- 450
- 6
- 20
2
votes
2 answers
Redis Session State Provider manage fallback
I use Redis as Session State Provider but since I have many users sometimes it happens that Redis goes down. So I would like to have a default Session State Provider to use in case the first one goes down.
Is this possible?
Any other…

ayasha
- 1,221
- 5
- 27
- 46
2
votes
3 answers
Raise Session_OnStart event from custom ASP.NET SessionStateProvider class
I'm working on an asp.net project that uses an in-house developed custom SessionStateProvider class.
Evidently, the Session_OnStart event is not firing. I have code in Global.asax to handle the event. I can only get this code to execute by…

Vivian River
- 31,198
- 62
- 198
- 313
2
votes
3 answers
DynamoDB Session State in ASP.NET MVC
I have create a new ASP.NET MVC 5 Project. I have installed through Nuget the AWS SDK for .NET and Session Provider and I have read this article in Amazon: Article
I have this configuration in the Web.Config

chemitaxis
- 13,889
- 17
- 74
- 125
1
vote
1 answer
update StateProvider with flutter_riverpod
Is it possible to update StateProvider from the Class outside the Widget?
Or I need to use another way?
My code
class SettingScreen extends ConsumerWidget with WidgetsBindingObserver {
This is the place I would like to update the state
Widget…

Kobi
- 127
- 1
- 11
1
vote
1 answer
UnableToConnect Azure Cache for Redis
I am trying to store ASP.NET session state in the cache (Azure cache for redis) as mentioned here https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-aspnet-session-state-provider
but, i am receiving below error.
UnableToConnect on…

olddev
- 11
- 1
- 2
1
vote
1 answer
Adding Session State Provider using Azure KeyVault for the connection string
Currently I am trying to add MS Session State Provider in my project: https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-aspnet-session-state-provider
The settings are like this:

Terence
- 652
- 11
- 34
1
vote
1 answer
URL rewrite issue in angular and webpack
My url is as follows:-
I want to make my linkname (that is a dynamic name, could be anything) for example:
abc.com/dinesh
abc.com/anyname
It works well for all the cases except
If user pass anyname suffixed by /. ex:
abc.com/anyname/
It fails and…

Dinesh Rawat
- 970
- 10
- 32