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.
--
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com