Re: Limiting access to a page using the PFC?
Posted by
Tom Grahame on
URL: https://discuss.orbeon.com/Limiting-access-to-a-page-using-the-PFC-tp1577241p1577798.html
Hi Robin,
I would use some combination of the action and result elements of the PFC:
http://www.orbeon.com/orbeon/doc/reference-page-flow#action-elementUsing an action element you could execute a pipeline that checks to see if the url has been accessed after the submission, something like this (not tested)
<page id="reached-after-submission" path-info="/reached/after/submission/">
<action action="check-to-see-where-the-user-is-from.xpl">
<result when="not-from-submission-xpath2.0" page="some-other-page"/>
</action>
</page>
check-to-see-where-the-user-is-from.xpl might use something like the request processor
http://www.orbeon.com/orbeon/doc/processors-generators-requestto do this.
Hope this is of some use,
Tom