Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Viewing all articles
Browse latest Browse all 2204

Spring session vs cookie session

$
0
0

I have created a simple application in Spring. I'm using Spring Security, Spring Session and store session in Redis. Everything works properly, session is saved, and it is valid until I close browser. However, I saw something I don't understand. Session in redis for only one user with is connected is 321a8f29-ab4c-4f12-8fc0-623f000b5029, but in Chrome dev tools cookie SESSION=ZTYxZDA3ZWYtNzA5NS00ZTBlLTkwYTctZDc3NWE0MDM5N2Ex It is the same value encoded different ways? Why those values are different?


Viewing all articles
Browse latest Browse all 2204

Trending Articles



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