On Thu, Mar 1, 2018 at 11:59 AM, <shengchehs...@gmail.com> wrote:

> I called Session#isTemporary() and the value is true, how do I fix it?
>

Call Session.bind() :-)


>
> > On 1 Mar 2018, at 18:01, Bas Gooren <b...@iswd.nl> wrote:
> >
> > Hi!
> >
> > It sounds like your session is not getting bound. Have you tried
> > explicitly calling bind()?
> >
> > Ps it’s good practice to call replaceSession() on login to prevent
> > session fixation, so have a look at that, too.
> >
> > // Bas
> >
> > Verstuurd vanaf mijn iPhone
> >
> >> Op 1 mrt. 2018 om 10:44 heeft "shengchehs...@gmail.com" <
> shengchehs...@gmail.com> het volgende geschreven:
> >>
> >> Dear all
> >>
> >> I built a application with parent BasePage, and child page extends it
> except LoginPage.
> >> When I try to login, I saw the user data persist in session, but when
> redirect to another page (extends BasePage) , the session data disappeared
> >> , how do i concur this?
> >>
> >> Thanks
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to