Yeah actually I was thinking that the message would be displayed at the new login (that the old sessions will be invalidated) then if they should go back to those old sessions they just get a normal session expired message. So if that's how it works...that should be fine. Is this use case considered a standard feature of Shiro?
-Dave On Mon, Mar 24, 2014 at 9:42 PM, Brian Demers <[email protected]>wrote: > Take a look at the SessionManager class > As far as displaying a message to the user about the old session, that > could get a little tricky. You would need to store old sessions around, > and treat them different then an invalid session id. > > You may want to display a message on login, that other sessions from this > user are invalidated. > > > > On Sun, Mar 23, 2014 at 9:34 AM, David Hoffer <[email protected]> wrote: > >> Does Shiro support a mechanism where I can limit the number of logins per >> user to 1 and the last login wins? (Other sessions would be invalidated >> and message displayed if they tried to use old sessions.) >> >> Thanks, >> -Dave >> > >
