Force refresh

Hi,

I am using a dojo login and its not refreshing in IE7. I have tried it in FF and it works fine. We are using the following ServerSide Javascript (library) to process the login, but it seems to be ignoring the location.reload(); line.

Can anyone suggest an alternative we can use instead to get the refresh to work?

here is the ServerSide Javascript :

function dominoLogin(data){

dojo.xhrPost({

url: ‘/names.nsf?login’,

content: data,

load: function (data) {

if( String(data).substring(0,3) == “GIF”)

{

dojo.byId(“loginMsg”).style.color = “green”

dojo.byId(“loginMsg”).style.backgroundColor = “transparent”

dojo.byId(“loginMsg”).innerHTML = “Please Wait…”

location.reload();

} else {

if ( dojo.cookie('DomAuthSessId') != null || dojo.cookie('LtpaToken') != null ) 

{ 

		dojo.byId("loginMsg").style.color = "red" 

		dojo.byId("loginMsg").style.backgroundColor = "transparent" 

		dojo.byId("loginMsg").innerHTML = "Not Authorized." 

		dojo.cookie('DomAuthSessId', null, { path: '/', domain: 'clydeunion.com' }); 

		dojo.cookie('LtpaToken', null, { path: '/', domain: 'clydeunion.com.com' }); 

	} else { 

		dojo.byId("loginMsg").style.color = "red" 

		dojo.byId("loginMsg").style.backgroundColor = "transparent" 

		dojo.byId("loginMsg").innerHTML = "Invalid User/Password." 

	} 

} 

},

error: function (error) {

console.error ('Error: ', error);

}

});

}

Subject: Solution?

Did you find any solution on this problem? I have the same problem myself.