[symfony-users] Re: Prevent simultaneous logins with the same username in symfony

2007-08-29 Thread Kiril Angov
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

[symfony-users] Re: Prevent simultaneous logins with the same username in symfony

2007-08-29 Thread Matthias Nothhaft
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

[symfony-users] Re: Prevent simultaneous logins with the same username in symfony

2007-08-29 Thread Lukas Kahwe Smith
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? > >

[symfony-users] Re: Prevent simultaneous logins with the same username in symfony

2007-08-29 Thread Matthias Nothhaft
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