Image Submit Form Bug in IE

Came across a really weird issue with the customer account login form on one of the sites I manage yesterday. Because this is a small form with only 2 fields and an image for the submit button Internet Explorer does not send the value of the submit button so because I was checking for that value to fire the login it never worked !

The answer was to check for the current page to have been submitted and a post array exists.