develooper Front page | perl.beginners | Postings from December 2002

Re: cgi session

Thread Previous
From:
LRMK
Date:
December 6, 2002 09:20
Subject:
Re: cgi session
Message ID:
006301c29d4b$db9f8d90$995d5ecb@lrmk
 dont usehtml file for http://www.mydomain.com/welcome.html
use a cgi
like  http://www.mydomain.com/welcome.pl
when u passing user to the page don't just redirect
load that page using automated form submit so you can pass the password and
username to that page too and validate there
if it is wrong redirect back to the login page

i hope somebody has a better idear becouse this needs lots of programming

I used this method once u have to do this in all the pages
so its too complex
----- Original Message -----
From: "Admin-Stress" <meerkapot@yahoo.com>
To: <beginners-cgi@perl.org>
Sent: Friday, December 06, 2002 12:39 AM
Subject: cgi session


> Hi,
>
> How can I check cgi session? mmm .. maybe better I explain like this:
>
> I just want to make a 'secure site' that need username and password. So,
the first page of my site
> would be "fill in you username and password", for example, it will be
placed here :
>
>    http://www.mydomain.com/login.html
>
> After that, I will call /cgi-bin/checkpasswd.pl, if OK then user will be
transfered to another
> page, e.g.:
>
>    http://www.mydomain.com/welcome.html
>
> My question, how can I make sure that ONLY ppl passed checkpasswd.pl can
see that welcome.html
> (and the rest of page). It should be about checking 'session' or some
other trick ...
>
> Anyone can give me pointer/clues how to do this? .. in a simplest way ..
>
> Thanks,
>
> kapot
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> --
> To unsubscribe, e-mail: beginners-cgi-unsubscribe@perl.org
> For additional commands, e-mail: beginners-cgi-help@perl.org
>
>


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About