apple.com
> [mailto:webobjects-dev-bounces+webobjects=symposion...@lists.apple.com] Im
> Auftrag von "Jérémy DE ROYER [INGENCYS]"
> Bereitgestellt: Mittwoch, 18. April 2012 13:25
> Bereitgestellt in: WebObjects
> Unterhaltung: restoring session in servlet deployment context
&g
osion...@lists.apple.com
[mailto:webobjects-dev-bounces+webobjects=symposion...@lists.apple.com] Im
Auftrag von "Jérémy DE ROYER [INGENCYS]"
Bereitgestellt: Mittwoch, 18. April 2012 13:25
Bereitgestellt in: WebObjects
Unterhaltung: restoring session in servlet deployment context
Betreff
For those who could have the same issue, here comes one answer :
1) get the jsessionid from the HttpSession used for authentication
2) send both wosid and jsessionid to the direct actions
3) restore HttpSession using an HttpSessionListener
4) restore WOSession using WOServletSessionStore.woSession
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 i