|Think about Loose Coupling|
Never Write Another Login Script Again!by jbeninger (Monk)
|on Jul 08, 2003 at 19:06 UTC||Need Help??|
Greetings High and Mighty Monks.
I've got a module I'm considering putting on CPAN, and I'd like your thoughts on the issue. As I can already hear the impending forehead *slap* as I find the 99%-functionally-equivalent module that's already on CPAN, I'd just like to mention that I've done a fair bit of searching, and haven't seen anything quite like this yet.
Well no more! Now with a minimal amount of setup, you too can have a fully-functional user login system based on CGI::Application!
By simply including the line:
The Small Print
I've tried to make the module generic in the sense that it can be easily modified for different databases and different methods of storing sessions (right now it uses Apache::Session). But I've also tried to restrict it to four basic operations to prevent it from getting too bloated (login, logout, retrieve password, and create user).
I'm already looking forward to the day when I won't even have to think the word "login" again. What do you think of the whole thing?