Skip to Content
avatar image
Former Member

webdynpro abap set cookie while calling an external URL

Hi all,

I have a requirement to create a session cookie on the browser in webdynpro abap while calling an external url, making this cookie available for the external url browser session.

On the I Component Controller (WDDOINIT) I have used   cl_request = wdr_task=>request. to get the request  and created the client side cookie using  cl_request->SET_COOKIE  after creating it I then call cl_request->get_cookies which shows cookie as added but the cookie not on the browser.. for the external url am using the exit plug..


How can I best resolve this issue ..as set_cookie doesn't seam to work


Thanks


Fairwell

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 19, 2016 at 04:28 PM

    Hi Fairwell Mnyamana,

    Web Dynpro ABAP does not support cookies. You could however use Islands, Flex or Silverlights.

    Please read the following discussion for more information:

    Reading Cookies from Webdynpro ABAP | SCN

    Regards,

    Felipe

    Add comment
    10|10000 characters needed characters exceeded