restoring session in servlet deployment context
restoring session in servlet deployment context
- Subject: restoring session in servlet deployment context
- From: "Jérémy DE ROYER [INGENCYS]" <email@hidden>
- Date: Wed, 18 Apr 2012 11:46:35 +0200
Hello,
We have APIs that use HTTP/GET or POST direct actions according to this scheme :
- authenticate direct action -> returning a sessionID
- asking for a direct action with a sessionID -> if authenticated, returning the response
Problem is that it doesn't work with servlet deployment except if using ie, firefox or safari because of the lack of httpSession, used by servlet context to restore the (wo)session.
Problem is that we have developed java tasks or iPhone apps that work with web objects apps sending requests and receiving responses.
But it does not work in a servlet deployment context.
I tried to use WOApplication.application().restoreSessionWithID(sessionId, context()) but no way to restore.
Any idea ?
Jérémy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden