Skip to Content
author's profile photo Former Member
Former Member

Logging of from EP programmatically

Hi All,

I have created an application in webdynpro & deployed on EP server.

I can view my application through EP.

I want to logoff from EP whenever my application throws a specific exception.

Can anyone suggest me how can i implement that?



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 02, 2007 at 08:45 AM


    Use this


    WDDeployableObjectPart d = wdComponentAPI.getApplication().getDeployableObjectPart();

    String url = null;

    try {

    url = WDURLGenerator.getApplicationURL(d);

    } catch(WDURLException e) {



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member


      The API WDClientUser.forceLogoffClientUser("/irj"); & webdynpro plugs doesnt work inside Portal.

      Portal doesnt support an indivisual component to close all the other Portal open sessions.

      Instead try to call the Portal Lof off method through a Portal application

      function logoff()


      if (EPCM.getUAType() == EPCM.MSIE)


      window.returnValue = 'logoff';









Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.