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.
Here is my shoppingCartServiceIimpl
java class:
This data lost may be caused by spring security changed the session .
Now, is there any way I can keep/find the session obj before user login, and copy the shopping cart data to the new session after user login?
Thank you for your help again
Sam