From: "nafiseh saberi" <[EMAIL PROTECTED]>
> hi dear.
> you can use...
> require "cgi-lib.pl";
PLEASE FORGET cgi-lib.pl USE CGI.pm !
> &ReadParse;
> $PASS=$in{"pass"};
>
> pass exists in web
> and PASS is a variable that you can use it in your
> program.
This will NOT read a session varia
hi dear.
you can use...
require "cgi-lib.pl";
&ReadParse;
$PASS=$in{"pass"};
pass exists in web
and PASS is a variable that you can use it in your
program.
be successful.
Best regards. Nafiseh Saberi
www.iraninfocenter.net
www.so
There are many ways to do it, here's mine:
I wanted to semi-securely identify users to my site, having them log in
once, and then never have the need to login again (as long as they're at the
same computer)
So, I used cookies (perldoc CGI) to set a unique session ID, once a user
had logged in.
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 sessio
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 corr
On Tue, May 08, 2001 at 06:59:07PM -0400, Brian Shoemaker wrote:
: Hello.
:
: I am attempting to find some information on using session variables in
: Perl/CGI.
In a CGI environment, you might want to take a look at the CGI::Cookie
module, which comes standard with all modern versions of Perl.
I take it you have the CGI module installed... all you need to do is read up
on CGI::Cookies which will show you exactly how to store and retrieve
cookies. The docs can be foudn on CPAN or in your perl/html/site/lib/CGI dir
regards,
Jos Boumans
- Original Message -
From: "Brian Shoemak
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
>b