in reply to Redirect page (newbie)
If you want to redirect, you have to only print the redirect header.
Why are constructing your html with perl? You could make your setup infinitely better by turning this script into two parts. First, put your login form in a static html page and then have your cgi script do the validating and redirecting.
For example, you go to login.html which you put your username/password in. When you submit your form, you go to cgi-bin/login.cgi which authenticates your credentials and redirects to myview.cgi.
Also, how is your myview.cgi authenticating? Can I bypass your security by going staight to myview.cgi?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Redirect page (newbie)
by lauragarcia (Acolyte) on May 04, 2001 at 22:01 UTC | |
by DrZaius (Monk) on May 04, 2001 at 23:04 UTC | |
by Galen (Beadle) on May 04, 2001 at 23:57 UTC | |
by lauragarcia (Acolyte) on May 05, 2001 at 01:30 UTC | |
by sierrathedog04 (Hermit) on May 07, 2001 at 19:23 UTC |