Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.Web.RedisSessionStateProvider not working #77

Closed
haripradhan opened this issue Jul 21, 2017 · 3 comments
Closed

Microsoft.Web.RedisSessionStateProvider not working #77

haripradhan opened this issue Jul 21, 2017 · 3 comments

Comments

@haripradhan
Copy link

haripradhan commented Jul 21, 2017

I created a simple ASP.NET application with Microsoft.Web.RedisSessionStateProvider nuget package (v. 2.2.4) installed, and then tested it with local redis server. It didn't work :(. It uses in-memory session storage which is really strange.

However, I again created another ASP.NET application with Microsoft.Web.RedisSessionStateProviderEx nuget package (which then installs Microsoft.Web.RedisSessionStateProvider v.1.1.0.0), and it luckily worked.

I wonder if anyone has come across this problem?

I have attached the following zip files:

  1. Redis1.zip which has Microsoft.Web.RedisSessionStateProvider, and
  2. Redis2.zip which has Microsoft.Web.RedisSessionStateProviderEx.

Redis1.zip
Redis2.zip

@SiddharthChatrolaMs
Copy link
Contributor

is you local redis running on port other than 6379?

@haripradhan
Copy link
Author

It is running on the default port which is 6379.

@mapalan
Copy link
Member

mapalan commented May 20, 2020

The issue here is that the web.config in the first zip file did not include StackExchange.Redis.StrongName as a dependent assembly, whereas the second one did.

@mapalan mapalan closed this as completed May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants