The method will then receive an instance of your DTO linked with the session.
1365
+
Value set in this object will be persisted in session and will be available for reading later.
1366
+
1367
+
The name of the parameter is used as the session key.
1368
+
1369
+
This attribute work with classes and interfaces.
1370
+
If you use an interface, you must provide a default value or make the parameter nullable, if the session isn't set, it will not be possible to create a new instance when resolving the value.
1371
+
1331
1372
.. _locale-sticky-session:
1332
1373
1333
1374
Making the Locale "Sticky" during a User's Session
0 commit comments