Re: Django authentication, not permit 2 users with the same name to login in same time
Need to be other solution, like using sessions? 2009/12/15 rebus_> 2009/12/14 NMarcu : > > Hi all, > > > > How can I do, to not let the same user to be logged from 2 > > different location, in the same time. I want, when a user admin is > > login, and another user try to login with the same user admin, to have > > a message, you are already login. How can I do something like this? > > > > All the best, > > Nicu Marcu > > > > -- > > > > You extend auth login view so it checks if the user that wants to > login already has active session and if he does tell him he can't > login. > > But if he forgets to logout on remote location how will he be able to > login again? > > -- > > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > > -- All the best, Nicolae MARCU -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Django authentication, not permit 2 users with the same name to login in same time
2009/12/14 NMarcu: > Hi all, > > How can I do, to not let the same user to be logged from 2 > different location, in the same time. I want, when a user admin is > login, and another user try to login with the same user admin, to have > a message, you are already login. How can I do something like this? > > All the best, > Nicu Marcu > > -- > You extend auth login view so it checks if the user that wants to login already has active session and if he does tell him he can't login. But if he forgets to logout on remote location how will he be able to login again? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Django authentication, not permit 2 users with the same name to login in same time
Hi all, How can I do, to not let the same user to be logged from 2 different location, in the same time. I want, when a user admin is login, and another user try to login with the same user admin, to have a message, you are already login. How can I do something like this? All the best, Nicu Marcu -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.