cancel
Showing results for 
Search instead for 
Did you mean: 

MYSAPSSO2 Cookie

dwayne_winters
Explorer
0 Kudos

Can someone tell me why I log into our portal (where SSO works fine) and execute the javascript "document.cookie.indexOf("MYSAPSSO2") > -1", and it cannot find the MYSAPSSO2 cookie? If I look at my cookies (via Firefox add-on), I see the cookie fine. The cookie is also not displayed if I execute javascript:document.cookie.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

It is simpler to do from server side as follows. Place below line

inside Page_Load event of any portal component:


   Write(this.Request.Cookies.Get("MYSAPSSO2").Value);