I've had a few requests for this, hopefully those who read this will find it useful, and if you complain about my programming, lack of documentation, quotes, and whatever else you want to nitpick at then you can just GFY.
Im posting this for an educational reason only, i dont care if you use my code word for word, if you use sniplets or not, no i do not want any money for it, no i will not help you install it, get it working or explain to you how it works since it takes away from some stuff i need to get done.
Anyways, here is the link to the source code which i wrote which makes multiple login attempts impossible.
http://www.hostedcontent.com/sessions.phps
Again, yes this could probably have been wrote a lot clear, with proper indentation, and documentation but since my intentions were for no one else to use it then why bother.
One last thing, just delete the different functions which are not complete/you dont need.
Joe
PS: i might answer the first couple question ;)
PPS: take my content and i could possible help you set this up ;)