Hello All !!!
What is the best way, performance wise, to ensure, one user can initiate only a single session and if he tries to initiate another session, while logged in, he should get an error page, saying your session is currently active?
One of the ways I could think of is keeping user login info in context and search through the list before creating a session for him, but it does not seem good, as the number of users can be upto 1000 at a give instance.
Is there a built in functionality or if some one has implemented such a scenario, it would be of immense help.
Thanks,
Regards,
SwapSawe.
Cheer Up, The worst is yet to Come.
What is the best way, performance wise, to ensure, one user can initiate only a single session and if he tries to initiate another session, while logged in, he should get an error page, saying your session is currently active?
One of the ways I could think of is keeping user login info in context and search through the list before creating a session for him, but it does not seem good, as the number of users can be upto 1000 at a give instance.
Is there a built in functionality or if some one has implemented such a scenario, it would be of immense help.
Thanks,
Regards,
SwapSawe.
Cheer Up, The worst is yet to Come.