Ok, rev 2

MegaZone (megazone@livingston.com)
Fri, 1 Nov 1996 14:12:27 -0800 (PST)

Some people reported that MSIE choked on the form because it had .html
as a suffix. I confirmed this and also determined that Lynx has the same
problem. NS and some versions of Mosaic seem more intelligent in that
the Content-Type: application/octet-stream HTTP header took precedence, as
it should, over the file name.

In any case, this was fixed by renaming the form:
<http://www.livingston.com/Forms/radiusform>

I've tested it successfully in NS, MSIE, Lynx, and NCSA Mosaic.

The old URL will redirect you to this form now - simply:

---cut---
#!/usr/local/bin/perl

require 'cgi-lib.pl';

print "Content-type: text/html\n";
print "Status: 302 Redirect\n";
print "Location: http://$ENV{'SERVER_NAME'}:$ENV{'SERVER_PORT'}/Forms/radiusform\n\n";
---cut---

Actually that require is unneeded, force of habit...

As for the file name issue, I'm still working on it. I could use HTTP
Cookies to maintain state and call appropriately named individual download
scripts - but I don't want to do that. It would exclude a large portion of
browsers in use today...

Still looking.

-MZ

--
Livingston Enterprises - Chair, Department of Interstitial Affairs
Phone: 800-458-9966 510-426-0770 FAX: 510-426-8951 megazone@livingston.com
For support requests: support@livingston.com  <http://www.livingston.com/> 
Snail mail: 6920 Koll Center Parkway  #220, Pleasanton, CA 94566