On the client side you have to do the following to benefit form session management with cookies:
TcpIpConnection conn (false, host, port); HttpProtocol prot(&conn); prot.setAcceptCookies(true);prot.setClientCookie("cookie-test=123");
if (prot.hasCookie()) prot.getCookie();
![]()
![]() | Enable cookie managent. Otherwise cookies are completely ignored. |
![]() | Add a cookie to the request if available. |
![]() | Check for incoming cookie information and store for later re-use. |