Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I will be running a cgi script on a server that will require basic authentication. As far as I can tell, my options are mangling the url, or with cookies. Well, i'm not going to throw a username and password in the url, so that leaves the use of cookies.
I have used this Thread in the past with CGI.pm, but, because of how often this page is going to be accessed I am to find an alternative method for setting the cookies and provide a proof of concept with and without cgi.pm being used.
My question to you is, how does one go about setting and retrieving cookies in perl without using cgi.pm? (telling my supervisor "you don't, use cgi.pm" isn't acceptable without code to back it up :-/ )
I have used this Thread in the past with CGI.pm, but, because of how often this page is going to be accessed I am to find an alternative method for setting the cookies and provide a proof of concept with and without cgi.pm being used.
My question to you is, how does one go about setting and retrieving cookies in perl without using cgi.pm? (telling my supervisor "you don't, use cgi.pm" isn't acceptable without code to back it up :-/ )
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Cookies without CGI.pm
by mattriff (Chaplain) on Sep 25, 2002 at 14:13 UTC | |
Re: Cookies without CGI.pm
by spartacus9 (Beadle) on Sep 25, 2002 at 14:34 UTC | |
Re: Cookies without CGI.pm
by diotalevi (Canon) on Sep 25, 2002 at 15:23 UTC | |
Re: Cookies without CGI.pm
by Fastolfe (Vicar) on Sep 25, 2002 at 16:13 UTC | |
Re: Cookies without CGI.pm
by perrin (Chancellor) on Sep 25, 2002 at 18:51 UTC |
Back to
Seekers of Perl Wisdom