Merge pull request #1147 from kingmook/develop

Fix Issue #1122 RE: IE9 and Password Protected Pads using HTTPS
This commit is contained in:
John McLear 2012-11-08 11:09:43 -08:00
commit dc3db7a4a8

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)
{