Re: RE: RE: Re: Session has expired When we are importing the Orbean form by using the <c:import/> in our cms
Posted by
Erik Bruchez on
Mar 16, 2011; 6:00am
URL: https://discuss.orbeon.com/Session-has-expired-When-we-are-importing-the-Orbean-form-by-using-the-c-import-in-our-cms-tp3343498p3380905.html
Haritha,
What you are hitting is a typical case of embedding Form Runner into a page.
Doing this requires some work. We have new two built-in ways of embedding:
* through the PHP-based TYPO3 CMS [1]
* through Liferay with the proxy portlet [2][3]
Both implementations do a few things to make the session work. In particular, Ajax requests must reach Orbeon with the same session cookie that loaded the form originally.
So with say c:import, Orbeon Forms responds with HTML but also with a session cookie (JSESSIONID), unless Orbeon Forms shares the same servlet session as your JSP. Then Orbeon Forms Ajax requests that reach the server must have that same JSESSIONID.
That might be the issue you are hitting.
Ideally, we would provide out of the box a component to do this, but haven't gotten around to doing that yet.
Now another but similar approach was to use what we called the Ajax portlet, which "include-form.jsp" and "with-dojo.jsp. Now this feature hasn't been tried in a while and it may be broken at the moment. We have some doc on this here:
-Erik
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws