Ohh, and yes. If a new tab opens while a session is still around isn't that
normal to take over the existing session?

Is like leaving home w/o locking the front door and then expecting to find
it locked when you come back from work.
Set the session time out to a smaller amount of time, like 1 min to solve
that problem.
~ Thank you,
   Paul Bors
On Wed, Mar 27, 2013 at 12:28 PM, Paul Bors <[email protected]> wrote:

> Not even, he already knows is a new session:
>
> "A new user comes and tries to log in (before the
> session expires). He would get the same session, wouldn't he? How can I
> enforce that he get a new session?"
>
> I advise you only create new sessions after the user authenticates (ie: always
> create a new session each time you log in).
> Any old versions such as the one left behind because of the closed tab,
> let it expire and it would eventually be cleaned up.
>
> ~ Thank you,
>    Paul Bors
>
> On Wed, Mar 27, 2013 at 11:36 AM, Martin Grigorov <[email protected]>wrote:
>
>> On Wed, Mar 27, 2013 at 5:34 PM, Hans Lesmeister 2 <
>> [email protected]> wrote:
>>
>> > you might be looking for Session.replaceSession()
>> >
>>
>> plus WebRTC and face recognition
>>
>> you need to find out somehow that another person is using the session of
>> the first person
>>
>>
>>
>> >
>> >
>> >
>> > -----
>> > --
>> > Regards,
>> > Hans
>> >
>> > http://cantaa.de
>> >
>> > --
>> > View this message in context:
>> >
>> http://apache-wicket.1842946.n4.nabble.com/how-to-create-a-new-Session-tp4657553p4657574.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