in reply to htaccess and cookies
About question one, reply is: don't do it! It's possible to do it exchanging authentication information in hidden fields, but it's far more unsecure than letting the web server doing the authentication for you: it's part of its job and it knows well how to do it. Furthermore, basic authentication is unsecure in itself, and increasing unsecurity by letting your CGI do the authentication is really bad, bad, BAD.
Anyway, if you need to know user's id within your code, you can read it from the environment ($ENV{REMOTE_USER}).
About question 2: simply use CGI. Do a perldoc CGI and read on: there is all that you need -and much more.
Ciao!
--bronto
# Another Perl edition of a song:
# The End, by The Beatles
END {
$you->take($love) eq $you->made($love) ;
}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HTACCES & Cookies
by stevenc (Novice) on Jun 26, 2002 at 10:32 UTC | |
by bronto (Priest) on Jun 26, 2002 at 11:59 UTC | |
by kidd (Curate) on Jun 26, 2002 at 14:19 UTC | |
by stevenc (Novice) on Jun 26, 2002 at 14:30 UTC | |
by stevenc (Novice) on Jun 26, 2002 at 13:35 UTC |