Let's follow up this discussion at the Neptune Community

(this forum will be kept in read-only mode)

Access Client Cookies

Hi,


is it possible to access the mysapsso2 cookie? I need it to extract the username!

I know it sounds strange but it is a complicated ;-)

the cookie is created by the SAP portal, but the user has no sap user, so I need a service user for the NAD, therefore I want to check the cookie, extract the user and validate through LDAP against AD groups.


With SAP standard request instance I have the possibility to access the cookies? in your interface I couldn't find a proper method for this?


regards

Meex


ok, I found another way with javascript :-)


var cookies = document.cookie;

Nice one, Markus. :)

Login or Signup to post a comment