I need to modify the hash, remove it after certain processing takes place so that if the user refreshes they do not cause the process to run again.
This works fine
If you use javascript to set the hash don't use a "#"
window.location.hash = '#foo'; //IE will reload the page window.location.hash = 'foo'; //IE will set the hash but will not reload the page