cancel
Showing results for 
Search instead for 
Did you mean: 

log off on click action using ABAP webdynpro

Former Member
0 Kudos

Hi,

My webdynpro abap application has link to log off , on user interaction event on click action the application should log off from server, so how do this or any method or any configuration needed for log off , please let me know.

code snippet will be more helpful.

Thanks,

Digamber.

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos
Former Member
0 Kudos

Check this blog...

/people/mohammed.anzys/blog/2007/06/05/how-to-close-parent-window-in-webdynpro-applications

Former Member
0 Kudos

Hi Thomas,

I am doing same as suggested in the below http://help.sap.com/saphelp_nw04s/helpdata/en/fc/04a5421935c511e10000000a1550b0/content.htm link

In SICF Log off page i have used the java script to delete cookies,

function DelSso2Cookie(sName,sPath)

{

    var sso2Domain = location.hostname;

    if (location.hostname.indexOf(".")>0)

      sso2Domain = location.hostname.substr(location.hostname.indexOf(".")+1);

    p="";

    if(sPath)p=" path="+sPath+";";

      document.cookie = sName+"=0; expires=Fri, 31 Dec 1999 23:59:59 GMT;"+p + "domain="+sso2Domain+";";

}o

but it is only asking the user login details for the first time, from the next time wards main page is displayed directly...it should ask for credentials evry time.

please help me in resloving the issue,what might be the reason am not achieving the same functionality in many of the posts i saw it is working for few of the members.

Thanks in advance,

sasi

Former Member
0 Kudos

Hi Kumar,

Did you find the solution? I'm facing the same issue.

Former Member
0 Kudos

Hi Thomas,

I'm facing the same issue as Kumar did. Can you suggest a possible way out ?

Best Wishes,

Ravi

Answers (0)