Mike,

Good point... the Flash Scope persists objects on the session.

But just because there are no "sticky sessions" doesn't necessarily mean there is strictly "no session". It just means that if I had a conversation over multiple request / responses that I would have issues a certain percentage of the time.

But how I understand Flash Scope is that it is used to pass data between the ActionBean and the View and moreover that is all part of the same response therefore I don't think Flash Scope is an issue.

One issue that does come to mind though is that I may have a proliferation of short lived sessions.


Q.:  In java you would have the call:
session = request.getSession(true);
... which would create a session if it does not exist.

At what place does Stripes automatically create an HTTP session (if there is a single place)?

I would default to not wanting a session unless there was a case were in an ActionBean needed it and then would need to somehow trigger request.getSession(true).

--Nikolaos



Mike Baranczak wrote:
Q4.: Any structures that Stripes persists on a user "session" (I doubt there are any but ya never know)?

The "flash scope" feature stores data in the session, so you won't be able to
use that. I don't think any of the core Stripes functionality is dependent on
sessions, but I could be wrong.

-MB
------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to