I Highly recommend that you structure your code using CGI::Application and that you make use of CGI::Session::Auth to create persistant authentication sessions. Note that this uses cookies (why wouldn't you?) Using cookies is the standard way to store pointers to persistant information.
If you simply wish to pop a username/passwd challenge for each CGI invocation, as noted above you can do this. Keep in mind you'll still have to write (or borrow) code to solve the problems of authenticating/storing the name/passwds. CPAN is your friend.
goodluck.
-------------------------------------
Nothing is too wonderful to be true
-- Michael Faraday
In reply to Re: user authentication
by freddo411
in thread user authentication
by kisaruku
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |