At 04:00 PM 5/8/01 -0700, I wrote:
>At 06:59 PM 5/8/01 -0400, Brian Shoemaker wrote:
>>Hello.
>>
>>I am attempting to find some information on using session variables in
>>Perl/CGI.
>>
>>When someone logs into my site, the script will check a flat-text database
>>and if the user has entered a correct username and password, the user will
>>be validated. At this point, a session variable will be set so the user will
>>not have to login again.
>>
>>Unfortunately, I can't seem to find any information about how to do this.
>>Any info would be appreciated.
>
>If the user logs in via http basic-auth, this happens automatically -
>until they quit their browser, whenever they talk to your site, the
>username/password will be sent transparently.
>
>This is by far the simplest solution to your problem. More complicated
>ones involve Apache modules of some kind.
Or (duh) cookies, of course. Although basic-auth is still simpler. Only
disadvantage is that it gives you no choice about the user interface for
logging in.
--
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com