Title: Message
I prefer setting up a session number, saving that to a hash with username and password. Every request the browser does something like http://www.yourdomain.com/perlscript.pl?session=2uoiu29823u923u298343i2 and the script checks if the session hasn't expired yet. If it hasn't it checks if the username and password match. If there is a match, the script returns the requested data, otherwise not. I've done something like this for http://www.postmenderks.nl/.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Mundell, R. (Ronald)
Sent: Friday, January 03, 2003 6:03 AM
To: 'Anthony Ettinger'; Perl-Win32-Users (E-mail); Perl-Unix-Users (E-mail)
Subject: RE: [Perl-unix-users] Perl Login

Where can I get more information on cookies

-----Original Message-----
From: Anthony Ettinger [mailto:[EMAIL PROTECTED]]
Sent: 02 January 2003 07:19
To: Mundell, R. (Ronald); Perl-Win32-Users (E-mail); Perl-Unix-Users
(E-mail)
Subject: Re: [Perl-unix-users] Perl Login


It's my experience that you would have to verify the
login for each request.

This can be easily done by storing the
username/password in a cookie, and then reading that
cookie, and querying the database for correct
user/pass combo on each request.

If anyone knows of a better way, please let me know!



--- "Mundell, R. (Ronald)" <[EMAIL PROTECTED]>
wrote:
> Hi all
>
> I am trying to create a login webpage. I have
> created a HTML front-end that
> calls a cgi script. but that is were the problem is,
> I do not know how to do
> logins under perl. If someone can help me please do
>
> Ronald
>


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.435 / Virus Database: 244 - Release Date: 12/30/2002


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.435 / Virus Database: 244 - Release Date: 12/30/2002

Reply via email to