on 02-09-2017 6:33 AM
I need a log off function which will clear login user. I have seen ajax code which will logout user but i need to know all possible ways to logoff user from browser by clearing cache or by changing header. Please give me all possible ways with code and comments so that i can learn AJAX, JQuery and JS ways to logoff an user !
For logoff SAP standard service is available. This will take care of clearing the session and SAML token. We have to call it like below:
$.ajax({
url: getProxyUrl("/sap/public/bc/icf/logoff"),
success: function (data, textStatus, jqXHR) {
window.open(logoutURL,"_self");
},
error: function (jqXHR, textStatus, errorThrown) {
} });
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you refer this blog?
https://blogs.sap.com/2014/11/27/clear-sso-cookies-in-desktop-mobile-application/
Regards,
KarthikA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.