After call Session#bind(), the temporary became false, but session data did not persist when setResponsePage(PageA.classgetPageParameters());
> On 1 Mar 2018, at 19:23, Martin Grigorov <[email protected]> wrote: > > On Thu, Mar 1, 2018 at 11:59 AM, <[email protected] > <mailto:[email protected]>> 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 <[email protected]> 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 "[email protected]" < >> [email protected]> 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: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> <mailto:[email protected]> >> For additional commands, e-mail: [email protected] >> <mailto:[email protected]>
