Displaying a protected HTML file
Matthew Peavy <[email protected]> Wed, 08 Sep 2004 16:27:42 -0600
| Newsgroups | gmane.comp.gcc.cgicc.general |
|---|---|
| Message-ID | <[email protected]> |
Hi cgi folks, I have a fairly simple application. I want to read in a user name / password from a form, verify that the two match within a cgi program, and then display an HTML page. If the password was invalid, I do not want to allow the person access to the desired page, rather, I want to give them an error page. I would like to display a static HTML page. Thus, I don't want the cgi program to dynamically create the HTML. I just want to redirect the users browser to a page -- however, the user should NOT be able to get to the page without passing the password test. Is this possible using cgicc? Thanks, Matt.