Andy answered by "Where would I start" question in this thread:

http://groups.google.com/group/model-glue/browse_thread/thread/2f679750146e7916

Learning in progress, please wait...

On Jun 22, 1:46 pm, David J Henry <[email protected]>
wrote:
> I have a user bean that represents the current session state.  I have
> a service that knows how to load and persist this session data from a
> Java middle tier server.  Because this is object data and includes
> stuff I don't want malicious users messing with I want to avoid
> serializing it to the URL.
>
> My current solution is to persist the data each time it is set and
> load it when it is read.  This will work for now but I'd rather incur
> this cost only once at the beginning of the request and once at the
> end.  Would it be difficult to build on an event for onRedirect into
> the MG framework?  Where would I start looking for code that handles
> result redirects?  I'll submit a patch if I can figure it out on my
> own.
>
> Thanks,
> David
>
> On Jun 22, 1:05 pm, Dennis Clark <[email protected]> wrote:
>
> > The framework does not automatically fire an event on redirect.
>
> > The framework tries to preserve the event state in the session scope by
> > default when performing a result redirect (preservestate="true"). If you
> > don't have session management enabled or working then you should use
> > preservestate="false" and use the append attribute to specify the event
> > values you want forwarded through the URL.
>
> > -- Dennis
>
> > On Tue, Jun 22, 2010 at 11:38 AM, David J Henry <
>
> > [email protected]> wrote:
> > > My client's servers are load balanced but not clustered (I.E. no cf
> > > session scope available).  The onRequestEnd event does not appear to
> > > fire on <result do="something" redirect="true"/>.
>
> > > Is there an event fired on redirect?
>
> > > Are there any special gotchas I should beware of because of my non-
> > > persistent session scope?
>
>

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply via email to