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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to