Both will work with any browser. CGI lets you choose your language and allows you to do much more then asp. Asp is usually used for simple calculations, small dynamic pieces of code in the middle of mostly static HTML, or by people who do not know how to program. PHP is like asp, only more flexable.
PS This is my experiance with Perl/Asp/Php, others may vary.