Regardless of the system in which you’re working, user login and authentication is a solved problem – there’s really only so many stages to the flow of control so there’s a relatively standard way of implementing it.
Elenor on Forrst provided a cool flow chart and source code detailing the process:
View both pages and sample source code on Forrst.
Speak your mind...