I think the Mod-Auth-SSPI is conflicting my ajax system. Please find the below code -
new Ajax.Request(ajaxUrl,
{
method:'post',
parameters: 'json='+json,
onSuccess:
function(transport)
{
if (transport.responseText.isJSON())
displayInfo(transport.responseText.evalJSON(true)); // error occurs
else
alert('Damn! It's not working...');
},
onFailure:
function()
{
alert(mateErrAjaxUrl)
}
});
it always returns the alert('Damn! It's not working...'). That means the displayInfo is not working or conflicting with something. Can anyone tell me how to resolve it ?
Please note that, Mod-Auth-SSPI is working correctly as per my need.