http://qs321.pair.com?node_id=162570

Fingo has asked for the wisdom of the Perl Monks concerning the following question:

Basicaly I am making a site with the following functionality: A user logs in to a site, after this all of the site is geared to them (IE their name is in the top corner). The only way to do this where a user only sends their username and password once, and it can't be faked by doing http://mysite.com/index.pl?user=root is using Apache::Access. Unfortunatly, I can not really understand the documentation. I am planning on using a database for authentication, how exactly do I connect to it? And how do I varify the users password? Also, is there a better way to do what I want?
Thanks,
 	Max

Replies are listed 'Best First'.
Re: Apache::Access
by xtype (Deacon) on Apr 28, 2002 at 04:17 UTC
    There are many methods to such madness.
    Take a look at one of merlyn's web technique columns.

    And if you are new to web programming, you could benefit from reading over Ovid's Course.

    Do a search for maintaining "state" or "session" on perlmonks. There are plenty of resources.

    -xtype