This commit is contained in:
Mike Brousseau 2012-11-08 10:47:41 -08:00
commit b089508b63

View file

@ -64,8 +64,14 @@ function createCookie(name, value, days, path)
if(!path)
path = "/";
//Check if the browser is IE and if so make sure the full path is set in the cookie
if(navigator.appName=='Microsoft Internet Explorer'){
document.cookie = name + "=" + value + expires + "; path="+document.location;
}
else{
document.cookie = name + "=" + value + expires + "; path=" + path;
}
}
function readCookie(name)
{