Make sure that you bind the session in the first page with getSession().bind(). This way you will get the same session in all following requests until the session expire. The session is being bound automatically for you if your page is stateful. But for stateless page you need to do this explicitly.
On Sun, Apr 1, 2012 at 4:14 PM, kshitiz <[email protected]> wrote: > It turned out that object is getting stored in session but is not getting > retrieved in other page. I have tried to use wicketsessionfilter but it is > not helping...how to access session object in another page..?? The session > object is being retrieved in same page. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Wicket-cookie-timeout-example-tp4521200p4523463.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
