Thomas, thanks for your opinion, I'll try it On Wed, Apr 29, 2020 at 2:49 PM Thomas Heigl <tho...@umschalt.com> wrote:
> Hi, > > There are two options I'm aware of: > > - You can use a session manager in your application server that stores your > session in the database. I.e. Tomcat's JDBC store. > - You can use Spring Session with a JDBC store > > I recently implemented Spring Session for Wicket with Redis as a backing > store. There are minor issues with page locking that require some custom > code, but otherwise it works fine. > > Best regards, > > Thomas > > On Wed, Apr 29, 2020 at 5:30 AM ShengChe Hsiao <front...@gmail.com> wrote: > > > Dear all > > > > I want to implement cross datacenter session replication for my web app, > > can I persist session on shared database? If it does, how can I do? > > > > I searched the web, and found org.apache.wicket.protocol.http. > > SecondLevelCacheSessionStore.IClusteredPageStore > > > > I have an idea for implement above interface and persist session on > target > > database, right? > > > > -------------------------------------------------------------------- > > -----------------------------------> > > To boldly go where no man has gone before. > > -------------------------------------------------------------------- > > -----------------------------------> > > We do this not because it is easy. We do this because it is hard. > > ----------------------------------------------------------------- > > --------------------------------------> > > If I have seen further it is by standing on the shoulders of giants. > > ---------------------------------------------------------- > > ---------------------------------------------> > > front...@gmail.com > > > > > ---------------------------------------------------------------------------------------------> > > > -- -----------------------------------------------------------------------> We do this not because it is easy. We do this because it is hard. -----------------------------------------------------------------------> ShengChe Hsiao -----------------------------------------------------------------------> front...@gmail.com front...@tc.edu.tw -----------------------------------------------------------------------> VoIP : 070-910-2450 ----------------------------------------------------------------------->