We have same requirement: we want our application's user to auto login to KonaKart and checkout.
I use WebWork2 as our web framework. Since you mention that only calling kkEng.login() is not enough, Struts action LoginSumitAction type of thing is needed.
Is it a way to do that with WebWork2 ( or any other Web framework)?
Basically we want get the session id, and let KonaKart client engine also keeps this id.
Question is, how does client engine decide that this request has same session id as previous page from our WebWork JSP?
Correct me if I looks stupid. Maybe I'm:)
Thanks!
-Bruce
Hi,
The Struts actions use the client engine so you must first login using the same code as you can find in LoginSubmitAction.java. Once you've done that, AddToCartFromProdId should work properly because the client engine stores the session id and automatically passes it to the server engine which actually performs the "addToCart".
-Paolo