Martin,

I think that's what is already happening. If nothing is set - the
conversation dies with the session.

It used to be that it was hard-wired to last 30 mins.

If a specific setting is made in the config, then it supercedes the default
which = session timeout.

Cheers,

Zubin

On 9/7/07, Martin Marinschek <[EMAIL PROTECTED]> wrote:
>
> Hi Simon,
>
> I would suspect the default should be same as session, and that the
> added value of Orchestra is that a conversation will time out if the
> session keeps being used, but only these conversation scoped beans are
> not used anymore. Configuration should be available, and it is good
> that it is, but my POV is a nice default value would be the session
> timeout.
>
> regards,
>
> Martin
>
> On 9/8/07, simon <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Conversations are stored in the session (indirectly). So when the http
> > session times out, the conversations automatically go too. The timeout
> > mentioned here is just in case you want conversations to time out more
> > quickly than the http session.
> >
> > Until recently this shorter timeout was hard-wired to 30 minutes. It is
> > now configurable via the scope declaration in the spring file. And as
> > Mario mentions, if you don't specify a timeout there the default is now
> > *no* timeout (ie timeout only when session goes).
> >
> > I hope that's what you were asking about..
> >
> > Kito, you might like to look at the new documentation added to the
> > website recently (esp. in core). It's still a work in progress but any
> > feedback on what's there so far would be very welcome..
> >
> > Regards,
> >
> > Simon
> >
> > On Fri, 2007-09-07 at 23:35 +0200, Martin Marinschek wrote:
> > > Hi Mario,
> > >
> > > why do I have to configure a timeout? Can't the default be taken from
> > > the session timeout?
> > >
> > > regards,
> > >
> > > Martin
> > >
> > > On 9/7/07, Kito D. Mann <[EMAIL PROTECTED]> wrote:
> > > > Very cool, Mario. FYI, I'll be talking about Orchestra (among other
> things)
> > > > at JavaZone next week
> > > > (http://www4.java.no/web/show.do?page=92&articleid=5276). This means
> I may
> > > > be asking a lot of questions over the next few days :-).
> > > >
> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > > Kito D. Mann - Author, JavaServer Faces in Action
> > > > http://www.virtua.com - JSF/Java EE consulting, training, and
> mentoring
> > > > http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info
> > > >
> > > > * Sign up for the JSF Central newsletter!
> > > > http://oi.vresp.com/?fid=ac048d0e17 *
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Mario Ivankovits [mailto:[EMAIL PROTECTED]
> > > > > Sent: Friday, September 07, 2007 11:36 AM
> > > > > To: MyFaces Development
> > > > > Subject: [orchestra] changed scope configuration
> > > > >
> > > > > Hi!
> > > > >
> > > > > Today we cleaned up the way how to configure the different scopes.
> > > > >
> > > > > Basically this means:
> > > > > * you HAVE to configure a timeout now. The default is to never
> timeout
> > > > > a
> > > > > conversation on its own.
> > > > > * the flash scope is now configured through the "lifetime"
> property.
> > > > >
> > > > > Please see here an example or refer to the updated installation
> > > > > documentation (once it has been published which might take some
> hours)
> > > > >
> > > > >                 <entry key="conversation.normal">
> > > > >                     <bean
> > > > > class="
> org.apache.myfaces.orchestra.conversation.spring.SpringConversat
> > > > > ionScope">
> > > > >                         <property name="timeout" value="35" />
> > > > >
> > > > >                         <property name="advices">
> > > > >                             <list>
> > > > >                                 <ref
> > > > > bean="persistentContextConversationInterceptor"/>
> > > > >                             </list>
> > > > >                         </property>
> > > > >                     </bean>
> > > > >                 </entry>
> > > > >                 <entry key="conversation.flash">
> > > > >                     <bean
> > > > > class="
> org.apache.myfaces.orchestra.conversation.spring.SpringConversat
> > > > > ionScope">
> > > > >                         <property name="advices">
> > > > >                             <list>
> > > > >                                 <ref
> > > > > bean="persistentContextConversationInterceptor"/>
> > > > >                             </list>
> > > > >                         </property>
> > > > >                         <property name="lifetime" value="flash"/>
> > > > >                     </bean>
> > > > >                 </entry>
> > > > >
> > > > >
> > > > > Ciao,
> > > > > Mario
> > > >
> > > >
> > >
> > >
> >
> >
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>

Reply via email to