I was using the following code:
//if (Modernizr.localstorage) {
// // window.localStorage is available!
//} else {
// // document.location.href = '/Error/Message/OldBrowser';
//}
Is there some way that I can do the same thing without the overhead of using Modernizr?