Hi,

On Wed, Mar 27, 2013 at 11:00 AM, ravaszroka <[email protected]> wrote:

> hello.
>
> how can tell the wicket application to create and use a new session for
> subsequent requests?
> the problem to solve is:
> the session keeps track of userdata. on the login page a new session should
> be created and used.
>

getSession().bind(); is what you need


> one solution would be to reset the userdata when i'm on the login page.
> however, if in a browser (chrome) i try to log in from 2 different tabs the
> session is shared, which obviously is not what i want.
>
>
the session is shared between the tabs.
session scope means - all requests from an user agent until the session is
invalidated or expire due to inactivity


> can someone lighten me on the relationship between httpsession and wicket
> session.
>

Wicket's Session is stored as an attribute in the HttpSession


>
> thanks.
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/how-to-create-a-new-Session-tp4657553.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 <http://jweekend.com/>

Reply via email to