Hello, I'm currently trying to get my Orbeon Forms application working with MarkLogic 5.0, but I'm having trouble keeping a session going. I have some XQueries hosted on an HTTP server set up in MarkLogic: one query logs a user in and sets a session field with xdmp:set-session-field(), the next query should bring back that field with xdmp:get-session-field().
This works when I execute the queries directly in the browser, but when I try to send the requests from my Orbeon application, the session is not carried over from one query to the next (get-session-field() comes up blank in the second query). Orbeon is running in a Tomcat servlet at port 8080, while the queries in MarkLogic sit at port 8008. I've tried examining the HTTP headers between requests, and it seems the SessionID cookie is not being returned by MarkLogic in the response. Anyone have any idea what's happening here and/or how to fix it? _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
