Customization with iStore
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.
0