Hi, I am using spring mvc 3/4+, with spring security.
Before login, I added some data to the shoppign cart (with session annotated), and then login.
After login, shopping cart becomes enpty.
I think session id is changed, so data in cart is all gone.
With spring security, is there any way I can copy all data from shopping cart to new session before refresh ssession by spring security ?
Here is security-config.xml:
posted 4 years ago
I 'd like to further explain the issue:
Before login, user added items to the shopping cart.
When user checkout, user decided to login first, but after login, all purchased items in the shopping cart is gone.