I will try the session save, but my login works and has nothing to do with struts.
...I also tried stopping tomcat and deleting the work folder (SESSIONS.ser), and restating. Everything works OK. I will read up also on redeploying tomcat. Thanks. On Wed, 17 Aug 2022 at 14:52, Yasser Zamani <yasser.zam...@live.com> wrote: > No it's for a long time ago. I even don't remember exactly where was > that option. I guess it was at 'undeploy' where we were able to keep > sessions. > > @Greg could you please google "tomcat manager redeploy sessions" to see > if you've configured tomcat correctly, or you haven't disabled session > persistence? For example looks like sessions will be gone on redeploy > due to security reasons [1]. > > If you believe that it's a Struts BUG then could you please in your > application in an action for example, store something in session using > pure java (i.e. don't use Struts). In another action restore and display > it. Meanwhile try redeploy to see if it belongs to Tomcat, or no it > works and so belongs to Struts. > > TIA > > Regards > > [1] https://stackoverflow.com/q/56574258/1362623 > > On 8/17/2022 6:02 PM, Lukasz Lenart wrote: > > Has it started recently? Tomcat by default serializes all sessions and > > tries to restore them on application reload. > > > https://serverfault.com/questions/300222/invalidate-all-sessions-at-application-reload > > > > > > Regards > > > > -- > > Ćukasz > > + 48 606 323 122 http://www.lenart.org.pl/ > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > > For additional commands, e-mail: dev-h...@struts.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org > >