kkEng.getEng().getRelatedProducts(kkEng.getSessionId(), null,
kkEng.getProductMgr().getSelectedProduct().getId(),
com.konakart.bl.ProductMgr.CUSTOM_RELATIONSHIP_1,
kkEng.getLangId());
is it possible to get data without session id.
is it possible?
I think so. Why don't you just try it ?
I tried. It doesn't work. Its throwing invalid session error as there is not session id in engine.
Is there any option.
Are you certain you're setting it to null?
Yes, When I open list page first time its returning kkEng.getSessionId() is null. And throws exception of session for the related product call.
If I open product detail page(directly) before it. And try to open list page then it works. It seems it creates session in product detail page.