-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 johnny schrieb: > I want to throw captcha, when the user failed to login, after 2nd > try. How do I keep track of how many times login fails? Set a cookie > with login attempt? > > Thank you. >
this is a bad way to do this, the user can easily delete the cookie, better create a table which saves ip,browsertype,number of loginattempts and in which account the user tried to login. mfg Paul Rauch -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iQIVAwUBRjLdbxG67lyyQrltAQJXwQ//WPlbxBIWkFTAdIs/1o9QJSamO4jvoFuG BncGuxjOqubjlw5mR5zZExT/4GSp7NtovFjNymXok/UVTCLbu06Vj2JGAZb0yVqi qyZEIY0K5zQuqMIl5rf/Qq4uIqxhq/gyjXnyqPgzAZHQoqUlPuPqpuESO2vLs0po j3QncqD5F8oGNhUnD3w5OHgWb/BHG2v/Wm+v0AZmC5HwAtnrIX22m/nKwhmRIeMW /WbW14kgOxugKVqG/jC9O/P3P8PyxYXEeKraKlJ8NaSbfkRdjspn/aWFytz7a2/G NEek9bHs5x/B6EBaLIKSHM5nbz0v0d/NxqGFp9khJf9UG4zl2285gfDr779bZVg9 Tq2wlcvvfmh5pOQkcZVzi/YPzfgihubC3sL0vGf+TVSa59JUXFcBvD+1yW8BL/5j bDYuNj7RPNr2s44Y3re1KKOFVjnse227sCYD6TPJipMbCIWC6OyU0FDCbYX8djQb zOnG/eDUZ6iRbbBKHm8StrjLTRFWaVVZuK+70SojSlxnI9bhRN0WiN4jbll/JJF/ ca0J2fJpMbvCZ6qXSNlmGMfWzSM1oKaGpTXSqsESt5cKHvZjBL38cDNpPwYHUiO9 pekGictNsWXjURwaye4Sw7fx0M7VE/S7f4ONg9Uy/irhPva35uVwyyi7OwsefjzJ R8yQiEdILV0= =+qbN -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---