Re: Unexpected session timeout in recent build

Posted by Alessandro Vernet on
URL: https://discuss.orbeon.com/Unexpected-session-timeout-in-recent-build-tp1570189p1571069.html

Nicolas,

#1 Yes, with oxf.xforms.session-heartbeat set to true, which is the default.
#2 Yes, in JavaScript you can listen to
ORBEON.xforms.Events.errorEvent to be notified when an error happens
(either on the server-side, or in JavaScript). See:

http://wiki.orbeon.com/forms/doc/developer-guide/xforms-javascript-integration#TOC-Custom-Events

Alex

On Thu, Feb 25, 2010 at 10:03 PM, npujol <[hidden email]> wrote:

>
> Hi,
>
> It is my understanding that Out of the box,
> orbeon will keep the session alive on the
> backend app server as long as the page is displayed
> on the screen.
>
> I noticed that i have been getting some
> session timeouts lately with a 2/5/10 build.
>
> 2 questions:
> #1. Is my understanding correct given I am in a separate
> deployment setup on jboss?
>
> #2. Is it possible to handle the session timeout elegantly by
> either customizing the message and/or subscribe/listen
> to some event via javascript?
>
> thanks a bunch!
>
> Nicolas
> --
> View this message in context: http://n4.nabble.com/Unexpected-session-timeout-in-recent-build-tp1570189p1570189.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> 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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet