Skip to Content
0
Aug 24, 2023 at 02:09 AM

Cookie haders in cpi

44 Views

The problem is that to connect to a nonSAP system through 2 URLs.

One URL answers 2 Cookies needed to consume the other URL. And the 2 cookies are unified in the header to be able to consume the URL.

Here the problem, you are concatenated in CPI as follows:MOCA-WS-SESSIONKEY=%3Buid%3DSUPSAP%7Csid%3jdegf-47ba-90da-479d271e6042%7Cdt%3Dlloisyl8%7Csec%3DALL%3B9kt3Uv8bMB9LJsAcLXHSv9dYr2; Path=/; HttpOnly; Secure;TS0181847e=0120287ded56b4316181bcc185138bf4213125f5d37d4483ada523f409f244d11fa798ede884b1261e09b58bd63ae6a04923ef87e198e7c010def0c885a00b3ab2d407fb8c; Path=/; Secure; HTTPOnly

In postman they are concatenated as follows:MOCA-WS-SESSIONKEY=%3Buid%3DSUPSAP%7Csid%3jdegf-47ba-90da-479d271e6042%7Cdt%3Dlloisyl8%7Csec%3DALL%3B9kt3Uv8bMB9LJsAcLXHSv9dYr2;Secure;TS0181847e=0120287ded56b4316181bcc185138bf4213125f5d37d4483ada523f409f244d11fa798ede884b1261e09b58bd63ae6a04923ef87e198e7c010def0c885a00b3ab2d407fb8c

The diference is this: Path=/; Secure; HTTPOnly

Could someone tell me or give me an idea so that these cookies are concatenated in the way that happens in postman, since it only allows us to access the system in this way. Or a way to delete "Path=/; Secure; HTTPOnly" in the cookies.

Best rewarts,

Thanks