• Welcome to KonaKart Community Forum. Please login or sign up.
 

get "Custom Relationship 1" products without (login)session id?

Started by bharatkasodariya, September 24, 2013, 04:00:08 pm

Previous topic - Next topic

bharatkasodariya

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.


maggie


bharatkasodariya

I tried. It doesn't work. Its throwing invalid session error as there is not session id in engine.
Is there any option.

maggie


bharatkasodariya

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.