Quantcast
Channel: Active questions tagged redis+session - Stack Overflow
Browsing all 309 articles
Browse latest View live
↧

Refresh custom field of Principal not working with spring-session-redis

I've an object called "CustomUserDetails" that extend org.springframework.security.core.userdetails.User.That is basic User plus custom fields.When I need to refresh some fields of CustomUserDetails, I...

View Article


Better approach for Jwt authentication and session management

I have a question regarding JWT authentication and session management. I have read two approaches and want to know which is better/optimal for 10k to 20k users login per month. First :-Medium Post...

View Article


NodeJs with Redis as session store throws exception

I was experimenting with NodeJs with Session. I followed code from many sites. Simplest one I would like to mentioned isSample NodeJS Code for session management with RedisRest of the forums found...

View Article

Why does redis-connect have so much boilerplate code?

and what is the equivalent for a pure node implementation? I was considering dropping Express and just using Node for my server. What would be the equivalent representation of the code below in Node?...

View Article

Image may be NSFW.
Clik here to view.

Asp.net performance issue when storing sessions in Redis

In converting from storing sessions in SQL to instead storing sessions in Redis, we are seeing a major performance issue. I hope you are able to give us some hints on what could cause this.The...

View Article


Koa Session access store client connection from context

I'm using nodejs with koa as framework, plus koa-session and koa-redis.import Koa from 'koa';...import session from 'koa-session';import redisStore from 'koa-redis';const app = new Koa();app.keys =...

View Article

How does Spring session Data + Redis cluster handle sessions?

According to the Redis document,(link : https://redis.io/docs/manual/keyspace-notifications/)Events in a clusterEvery node of a Redis cluster generates events about its own subset of the keyspace as...

View Article

mockMvc can't save session in redis repository

I am new to redis. Currently, I am trying to apply it to SpringScurity. There is a lot of information on the internet on how to manually test and go directly to redis to check if the...

View Article


Laravel 5.5 Session getting lost on each request

When logging in, authentication works and the user is redirected to the logged-in page (/home at first but I also tried changing to /dashboard) but then the session seems to become lost as it shows an...

View Article


Managing Session Cookies, from Firebase Authentication, with Redis

I am using Google Firebase Authentication to handle user management for my web application.Specifically, I am using managed session cookies. The problem I am running into is figuring out how to...

View Article

Is it valid practice to persist sessions only in the Redis cache?

Or should sessions also be duplicated into the database?It seems counterproductive to me to also be using the database for session validation if one of your primary reasons for using Redis for sessions...

View Article

Redis/Haproxy issue

We just switched our one of our php project to use Redis/Haproxy as solution for storing session. The issue we are facing is once in one or two months, the project will randomly lost session. We have...

View Article

Google Chrome iFrame Sessions no longer Persisting

I have a node.js app hosted on Heroku that loads into an iframe in salesforce, the app was working fine until today. Now it doesn't work in Chrome but it does still work in Microsoft Edge and Firefox....

View Article


Redis, SpringBoot and HttpSession: should I encrypt the session data?

I'm using Spring Boot 1.3.3 to build a web application. I use Redis for handling the session.I'll set some "crucial" data into the HttpSession and I'd like to understand how this will work with Redis....

View Article

How to configure tls for Microsoft.Web.RedisSessionStateProvider?

Good afternoon.I need to set up tls in a project, however there is a problem with Microsoft.Web.RedisSessionStateProvider. The connection is configured in the package itself, and I need to implement...

View Article


Redis for Storing session for Rails. why my key is hashed value?

I use redis for storing rails session.Rails.application.config.session_store :redis_store, url: ENV['REDIS_URL'], key: '_my_site_session', expire_after: 1.dayI can see that in client browser (Cookies),...

View Article

Redis Session Serializer mismatch between 3.2 and 4.2

I have a Spring Cloud-based application running on multiple spring-boot servers. All servers share the same Spring Session using @EnableRedisHttpSession.I now want to integrate a third party widget...

View Article


Laravel session with Redis

I have set up Laravel with Redis as the session driver. I'm having a hard time understanding the difference between calling Session facade and Redis facade. If session is set up to use Redis, then...

View Article

Laravel Redis Sentinel Session

I'm looking to use redis sentinel to store laravel sessions.I have set up redis this way:When I use Laravel's Cache::put and do a dd(Redis::connection('cache-connection')->keys('*')).I do have the...

View Article

Codeigniter session was created for each browser visit, which caused the...

I am using Redis to store the session data in Codeigniter.$config['sess_driver'] = 'redis';$config['sess_cookie_name'] = 'ci_session';$config['sess_expiration'] = 31536000;$config['sess_save_path'] =...

View Article
Browsing all 309 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>