Well, in your session storage (database table) you can have session_id,
user_id, session_data, timestamp. Then when I user logs in you can clean
all the records which are not equal to the current session_id + user_id
where user_id = current user_id.
Kupo
Matthias Nothhaft wrote:
> Lukas Kahwe
Lukas Kahwe Smith schrieb:
> Matthias Nothhaft wrote:
>> Haris Zukanović schrieb:
>>> I wish to prevent different users from logging in using the same
>>> username (sharing the username). Where would I best solve this in symfony?
>> Do you want to prevent one user from logging in simultaneously mu
Matthias Nothhaft wrote:
> Haris Zukanović schrieb:
>> I wish to prevent different users from logging in using the same
>> username (sharing the username). Where would I best solve this in symfony?
>
> Do you want to prevent one user from logging in simultaneously multiple
> times?
>
> Why?
>
>
Haris Zukanović schrieb:
> I wish to prevent different users from logging in using the same
> username (sharing the username). Where would I best solve this in symfony?
Do you want to prevent one user from logging in simultaneously multiple
times?
Why?
Hm.. I would not prevent that. What if a u