If you're using Apache, I highly recommend the O'Reilly book "Writing
Apache Modules with Perl and C" by Lincoln Stein and Doug MacEachern
(ISBN: 1-56592-567-X).  A section of the book starts with a simple
authentication example and builds on it (including a couple of different
way to store session information).  One of the best things I got out of
this book is learning how to set the session id in cookies and, in the
event that the user does not have cookies enabled, set the session id in
the URL.

Dan

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.
> 
> Brian Shoemaker

Reply via email to