Is there a defined protocol as to what browsers should do in this case:
http://example.com/?id=1&id=2
Can I safely assume all browsers will use the same parameter, or is this not standardized? From testing it appears browsers will take the last-defined parameter (id=2).
Web servers usually use the last parameter. In your case, web servers use the second
id.