Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Keep sessions with Secure iNet factory (jScape)

807605Jul 7 2007
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 4 2007
Added on Jul 7 2007
0 comments
139 views