Questions tagged [spring-session]

Spring Session provides a common infrastructure for managing user’s session information.

Spring Session provides a common infrastructure for managing user’s session information. This provides many Benefits including:

  • Accessing a session from any environment (i.e. web, messaging infrastructure, etc)

  • In a web environment

    • Support for clustering in a vendor neutral way

    • Pluggable strategy for determining the session id

    • Easily keep the HttpSession alive when a WebSocket is active

Resources

748 questions
0
votes
1 answer

How to write Listener for Spring Session Expiry

I am doing an PoC of Spring Session to implement the complete Lifecycle management of (HTTP) Session. While doing so, i want to write a listener which can get notified when the Spring Session gets Auto expired. In this listener, i want to do some…
yathirigan
  • 5,619
  • 22
  • 66
  • 104
0
votes
2 answers

Spring Session without additional context initialization?

I'm trying to use the recently released Spring Session library to do external session management in Redis. I'm using this guide. When I try to start my server, I get this error: SEVERE: Exception sending context initialized event to listener…
Joseph Blair
  • 1,385
  • 2
  • 12
  • 25
0
votes
1 answer

How can I use Spring Session in Websphere App Server?

I'm wondering how can I user Spring Session in a Websphere App Server? Can I get 100% of Spring Session functionality? Does it have some limitations?
user4584514
0
votes
2 answers

Redis Error in Spring Session sample using Maven and Spring Boot

I was trying to set-up this Spring-Session example using Spring Boot + Maven (the source in the GIT link is using Gradle). There were no compilation error, the deploy-able WAR file also got generated using the repackage goal. When trying to deploy…
yathirigan
  • 5,619
  • 22
  • 66
  • 104
0
votes
2 answers

Backup Spring Session with GemFire

Spring documentation says that Spring Session can transparently leverage Redis to back a web application’s HttpSession when using REST endpoints. Does anyone know if Spring supports GemFire in this place instead of Redis to back a web application's…
yathirigan
  • 5,619
  • 22
  • 66
  • 104
0
votes
1 answer

Does 'Spring Session' support 'Web Session Clustering'?

Does 'Spring Session' support 'Web Session Clustering' across multiple App Server container ?
yathirigan
  • 5,619
  • 22
  • 66
  • 104
0
votes
1 answer

Can Spring Session be setup in an application not running a spring application?

We have a CMS running in one tomcat container, that is not a spring application. We also have multiple applications running on separate tc server instances that contain our custom code (account management, cart, etc.). These are all spring 4.0.x…
dmfrey
  • 1,230
  • 1
  • 17
  • 33
0
votes
1 answer

How to autowire HttpSessionManager Bean in spring?

so I'm using the spring-session project and I want to know if it is possible to autowire the HttpSessionManager bean? I can see in the users example you are getting it from the request together with the SessionRepository: HttpSessionManager…
Petar Tahchiev
  • 4,336
  • 4
  • 35
  • 48
0
votes
1 answer

Spring Session 1.0.0.M1 cookie domain attribute

I have integrated Spring Session with Redis into my SpringBoot app. It seems that all works well except the cookie domain attribute. I just found how to set the cookie session domain attribute for in tomcat i.e. method "setSessionCookieDomain", but…
Tito
  • 2,234
  • 6
  • 31
  • 65
0
votes
1 answer

Spring SessionAttributes or httpsession

In my Spring MVC project I have a jsp page , registration page , in which there is a form. In this form the user inserts his data (name, surname and so on).I created a bean User and I bound the form with this bean.But now I have a problem.How can i…
Alex
  • 2,075
  • 5
  • 27
  • 39
0
votes
0 answers

Spring Session is being recreated

We are using Spring session and we observed that the screen was appearing blank sometimes. We noticed that when the screen worked as expected, there was only one session id created. However, when the screen was blank, we noticed two session id being…
Jasaz
  • 91
  • 4
0
votes
1 answer

Spring Session In Paas Sticky Session

so I have deployed my spring app on Heroku with 2 nodes and I noticed that if I add a product in the basket and I start refreshing the cart page, sometimes I see the product, sometimes the product is not there. So I'm thinking that maybe the request…
Petar Tahchiev
  • 4,336
  • 4
  • 35
  • 48
-1
votes
1 answer

Single shared session for multiple Spring Boot microservices in Redis

I have several separated Spring Boot microservices. Sessions are created separately for every microservice (and their instances). I have Spring Session involved, that helps with creating a single session for any number of instances of a…
Alec
  • 352
  • 1
  • 5
  • 16
-1
votes
1 answer

Injecting JdbcOperationsSessionRepository into a constructor

I'm upgrading a SpringBoot app from 2.1.17 to 2.3.4, which includes this class: @Configuration public class SessionRepositoryConfig { public SessionRepositoryConfig(JdbcOperationsSessionRepository sessionRepo) { // configure session…
BillyBadBoy
  • 552
  • 3
  • 18
-1
votes
1 answer

SpringSession WebSession with GemFire/Geode

Is there any support or plan to support WebSession with GemFire/Geode? Currently I can only find support for Redis and Map based Reactive Session management within the Spring Session project.
1 2 3
49
50