This may sound a little pedantic, but the benefit of CGI over ASP is that you can execute a program and send submitted form data to it. The benefit of CGI over Perl is exactly the same - except you're using Perl rather than ASP. PHP, ASP, Perl, Bash, etc, all use the CGI.

This rather quaint definition (not updated since 1999 explains the core idea. If you read the specs (and I do think it is worth it - to gain a better understanding of what the CGI actually is), you'll see that it basically says what environment variables get set by the server when processing an HTTP request through the CGI. I'd also recommend you read up on HTTP - if only so that when things go wrong you'll have a pretty good idea where to look first.

Whether you should use Perl or ASP is up to you. What have you used before? If a server hasn't been bought yet, which do you feel more comfortable working on? If not Windows, ASP is a silly option. Is budget an issue? Perl can score there if you also feel comfortable with Apache - especially if on *nix.


In reply to Re: CGI vs ASP by cLive ;-)
in thread CGI vs ASP by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.