I have a windows application using .NET connector to call some RFCs. Now, I have to extend it so that it can use SAP Logon Ticket for SSO.
I have written code for logging on successfully once I have the SAP logon ticket string, using:
dest.MySAP_SSO2 = HttpUtility.UrlDecode(txtSAPLogonTicket);
My problem remains that I have to somehow get the SAP logon ticket string. Currently, I have used an IE control in my application where I let the user logon into EP. This generates the cookie MYSAPSSO2, which I use to logon.
Of course, I don't like this too much! What do you think is the best way for me to get this cookie string? Can I use an existing browser session to query this cookie OR should I use some part of PDK for it OR something else? (In case of PDK, can I use it in a winform?)
Thanks a lot.