in reply to Authenticate with Cookies

#!/fellow/monks.pl

Personally I'm not a big fan of cookies. When I write CGI's, I'd like the script to be able to run on any machine. By any, I mean machines that do not allow cookies, Java Applets/Scritps, etc. Please note: This is my personal feeling. If you do use it, don't change your code.

I've been working on a CGI project that will do authentication and session handling within a CGI application. Have a look at MWS (Massyn Web Security). I'm sure the script will be able to do a lot for you. You do need to have mySQL handy...

Thanks!

#!/massyn.pl The more I learn, the more I realize I don't know. Albert Einstein 1879-1955

Replies are listed 'Best First'.
Re: Re: Authenticate with Cookies
by hardburn (Abbot) on Dec 26, 2002 at 17:55 UTC

    All browsers since Netscape 1.1 and all versions of IE support cookies. Even Lynx supports cookies.

    While there is an horrible abuse of cookies on the web (why am I getting a new cookie for every single image on the page?) there are a good set of problems that can't be solved without resorting to even worse hacks (like hidden fields in the input or URL munging). HTTP was designed to be stateless, and getting it to fake statefulness is going to require jumping through some hoops. Cookies aren't perfect, but look at the alternatives.