Hi,
To be honest I think current hooks for session and request lifecycle
are more then enough ... at least to me. The only benefit that I see
with var's lifecycle management is that is allows to do some "manual"
clean up of some state (release some resources) references by that
specific Var ... however I find it quite uncommon to do that inside a
Var.
Of course there might be use-cases that I can not envision now so if
Vars lifecycle management really solves problems otherwise nasty to
solve with current support your proposal Vicktor, sounds quite
appropriate to me.
Br's,
Marius
On Jul 31, 11:49 am, "Viktor Klang" <
viktor.kl...@gmail.com> wrote:
> Couldn't it be of interest to add the life-cycle management on Var itself?
>
> onVarDeath
> onVarBirth
>
> ?
>
> the scope of SessionVar should be born when a new session is created, and
> will die when a session is terminated.
> the scope of RequestVar should be born when a new Request comes in, and will
> die when the response has been sent?
>
> Ideas?
>
> Viktor
>
> On Thu, Jul 31, 2008 at 6:22 AM, David Pollak <
feeder.of.the.be...@gmail.com
>
>
>
> > wrote:
> > Derek,
>
> > I know I promised you I'd add some of this. Can you remind me what your
> > requirements are and I'll work on making it happen.
>
> > Thanks,
>
> > David
>
> > On Wed, Jul 30, 2008 at 1:11 PM, Derek Chen-Becker <
dchenbec...@gmail.com>wrote:
>
> >> Are those appropriate to a per-request lifecycle? Is a new LiftSession
> >> spun up, processed and shutdown all within one request? It's not clear to me
> >> from the source code that that's the case. If that's how it works then I'd
> >> be happy to use those hooks.
>
> >> Derek
>
> > Collaborative Task Managementhttp://
much4.us