in reply to perl cgi html and redirection

think I found a really simple solution, although I still have to try it out under apache and perl, only tried it with IE on the windows Desktop.
JavaScript:
<!-- window.location.replace("url"); -->
Thanks for your help

Replies are listed 'Best First'.
Re: Re: perl cgi html and redirection
by Maclir (Curate) on Apr 11, 2001 at 05:44 UTC
    Not a good idea. You have just sent, in plain text for the world to see, the url of where people get to once they passed the user id / password validation. Remember that everything your web server sends to the client's browser is completely visible to that person - check out the "view source" option.
Re: Re: perl cgi html and redirection
by voyager (Friar) on Apr 11, 2001 at 04:25 UTC
    Unless you are checking the password in Javascript on the client (don't), this won't help you.

    User types in id/pw and clicks button. Server validates password (I presume). The server has to do something now ... like the redirect.

    You certainly don't want to send back a page saying "Your password was ok; click here to continue"