Re: Session instance in memory goes null

2021-09-21 Thread Martin Grigorov
On Wed, Sep 22, 2021 at 7:33 AM Arunachalam Sibisakkaravarthi < arunacha...@mcruncher.com> wrote: > Is there a way to get all Active Sessions? > Is it possible to get Session using its id? > No. There is no such Servlet API. You need to keep track of them yourself, as you already do. > > > >

Re: Session instance in memory goes null

2021-09-21 Thread Arunachalam Sibisakkaravarthi
Is there a way to get all Active Sessions? Is it possible to get Session using its id? *Thanks And RegardsSibi.ArunachalammCruncher* On Tue, Sep 21, 2021 at 3:27 PM Arunachalam Sibisakkaravarthi < arunacha...@mcruncher.com> wrote: > Okay, the map is kept in implementation of HttpSessionStore

Re: Session instance in memory goes null

2021-09-21 Thread Arunachalam Sibisakkaravarthi
Okay, the map is kept in implementation of HttpSessionStore where onUnbind method is overridden to remove the session entry from the map. This problem also happens when I click logout button in my app where following code will be executed LOGGER.info("Invalidating the session {} ...",

Re: Session instance in memory goes null

2021-09-21 Thread Martin Grigorov
Hi, On Tue, Sep 21, 2021 at 6:57 AM Arunachalam Sibisakkaravarthi < arunacha...@mcruncher.com> wrote: > Hi guys, > User Session goes null and other user 's session is updated wrongly. > > I keep track of session instances in a map with username as key > Where do you keep this map ? I guess in