We are trying to persist a cookie across JSESSION. Specifically, in the case of a time-out, we need to redirect the user back to the page they came from when the session was initiated. I believe we are using Orbeon 3.9. I don't know if retrieving would be an issue, as we have not yet successfully set the cookie.
I'm looking at two possible solutions...
Preferred:
1) Searching forums and reading docs, I was not able to find an <xforms:something> that would set a cookie outside of the orbeon session, that would still be available in the event of a timeout or killed session. Is this possible? (I suppose we could add complex javascript to parse and set the cookie, but would like to avoid that)
Alternative:
2) We already had a working .jsp with similar functionality, so we tried to invoke that through an XPL. We can see in the debug log (and also when calling the page directly from the browser), that the cookie is properly set. However, in the case of invocation through the XPL, the cookies are not cascaded to the browser-client. I've tried setting <property as="xs:string" name="oxf.http.forward-cookies" value="JSESSIONID SESSIONIDSSO my-cookie"/> in properties-local.xml, where my-cookie is properly set when hitting the jsp directly and apparently captured within the debug log, but the cookie is not making it into the client-browser.
Any suggestions?
--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
To post to this group, send email to
[hidden email].