in reply to Creating a login page
A point with regard to your form generation:
The CGI::header function (e.g. $query->header()) is what is responsible for spitting out the "content-type: text/html" things, not the page title. The standard way of using the Header function is:
print $query->header();
...it will send "text/html" if nothing is specified, or you can send your own content headers by "$query->header ('image/gif')" to send a GIF image header, etc.
As for the login process, what you'll probably want to do is have the form contain the players names list, a pair of radio buttons to select mother or father and the name of the parental in qestion and verify them all in one fell swoop, whereupon you'll probably want to assign them a cookie (with CGI::Cookie or somesuch) so they only have to do this once; if they come to this page but they've already had a cookie assigned (i.e. they've loged in before) you can send a "$query->redirect ()" to send them onward automatically.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Creating a login page
by mnlight (Scribe) on Dec 21, 2001 at 04:11 UTC | |
by orkysoft (Friar) on Dec 21, 2001 at 05:06 UTC | |
by japh (Friar) on Dec 21, 2001 at 04:23 UTC | |
by mnlight (Scribe) on Dec 21, 2001 at 05:56 UTC | |
by japh (Friar) on Dec 21, 2001 at 06:04 UTC |