cancel
Showing results for 
Search instead for 
Did you mean: 

Can't get or set cookie in iViews in EP that uses logon ticket

Former Member
0 Kudos
45

Hi all,

We're developing an Enterprise Portal integrating CRM and R/3 transactions, and SAP Internet Sales Application (ISA). Using SSO the user can navigate to ISA, then performs some actions that I want to save.

I'm trying to use cookies, but something is wrong. A jsp page (from ISA) try to save data inside a cookie. Out of EP, only using ISA Application, the code works fine; but not in EP (with SSO2). Why?

Thanks everyone,

Antonio.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I would assume that this is caused by the fact the some of the http headers are allready written when you are in your dynpage/jsp.

The only way to avoid this is to have your component class extend AbstractPortal and implement the doOnNodeReady method (here you can write to the http header).

This thread might be relevant if you are unfamiliar with the doOnNodeReady method :

Update: Actually, I am not so sure on the text above. i have code which creates cookies in the normal doProcessBefore output method.

Could you try to do a network trace on if the cookie is actually sent with the http request (try using microsofts network monitor (netmon) if you haven't got any other tool)

Former Member
0 Kudos

Ah! I've forgot to say: SAP Enterprise Portal 6.0 SP2

Former Member
0 Kudos

Hi Antonio, Could you please give some information regarding the integration betwean ISA and the Portal, how did you do that?? Regards.