spring-cloud-gateway icon indicating copy to clipboard operation
spring-cloud-gateway copied to clipboard

GateWay lost session in MVC mode

Open xiaoege opened this issue 3 years ago • 0 comments

My project consists of Spring Cloud Alibaba, Nacos, GateWay, Spring Session. When i make a request to the original path, i can use the Spring Session with the Redis, the session is shared. But when i make a request throw GateWay,i still can get the session from shared redis until use "redirect:/xxx" in MVC mode. In that case, i lost my session and the new session created in redis. I want to know how can i make this in the same session in redis. Thanks.

xiaoege avatar Jul 28 '22 02:07 xiaoege