I played around with JScapes demo of Secure iNet factory.
Does anyone know how too keep the session up for multiple https requests?
I have tried two approaches.
1. Use the HttpSession object to do all the work.
Https https = new Https()
HttpSession session = new HttpSession(https);
session.setAllowCookies(true);
response = session.getResponse(request);
2. Do it manually by storing all incoming cookies in a map and rewrite them to the request before sending.
Neither work and the server changes session id during after a while.