SAML SLO -> on SAML logout getting error "A logout response was unexpectedly received"

I am able to do SAML SSO login successfully with SP-Initiated but unable to implement SAML SLO for logout. I am getting below Error
ComponentSpace.SAML2.Exceptions.SAMLProtocolException: A logout response was unexpectedly received





I am using Component Space’s sample application.


Can any one help me on this? what is going wrong in SP-Initiated logout process.

I have attached saml.config and SAMLController files.


Regards
Manoj

Hi Manoj
By default we store SAML session state in the ASP.NET session.
Please ensure you don’t clear or abandon the ASP.NET session as part of your logout until after the SAML logout response is received.
If there’s still an issue, please enable SAML trace and send the generated log file as an email attachment to support@componentspace.com.
https://www.componentspace.com/Forums/17/Enabing-SAML-Trace