EBS Customizations (MOSC)

MOSC Banner

Customization with iStore

edited Dec 8, 2011 8:09AM in EBS Customizations (MOSC) 2 commentsAnswered
 Hi 
I am now customizing iStore page which is able to remember what user viewed on our product.
What I am thinking is to use cookie.

When I try to code the JSP with standard J2EE cookie workaround, it did not work. No cookies were logged.

Code:
Cookie c = new Cookie("RecentView", "PRODUCT_1");
response.setCookie(c);


An alternative solution I found is to use "oracle.apps.ibe.util.RequestCtx" class to set the cookie on server-side.

Code:
oracle.apps.ibe.util.RequestCtx.setCookieValue("RecentView", "PRODUCT_1");

It worked fine. 
However, the cookie was deleted or cleared after the user logged out.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center