2

I'm working on application that allows user to perform some actions as guest. Results are stored in the session. I would like to inject data from guest session to authenticated user session. E.g.:

  1. Guest user adds something to cart, etc
  2. User decides to authenticate
  3. After authentication cart is restored from the previous session (i.e. passed between them)

Is there a place where I can get both old and new user session to copy attributes from one to another?

4

1 回答 1

0

这可以通过使用来实现:

<security:session-management session-fixation-protection="none"/>
于 2013-09-13T19:41:57.940 回答