[Seaside] Session accesible from the model of an application

Philippe Marschall philippe.marschall at gmail.com
Wed Apr 18 07:36:43 UTC 2007


2007/4/18, Chris Muller <asqueaker at gmail.com>:
> Hi Sebastian, I have pondered this question for reaching my Magma
> session from my domain without diectly referencing them.
>
>   http://wiki.squeak.org/squeak/5605
>
> The ideas may translate to Seaside or other "sessions"..
>
> Also, with Magma, you *can* now reference the session in the domain if
> you want.  It is always populated with whatever session materialized
> it.  I'm not inclined to do this myself, but others have been, so I
> recently made it work.  Maybe the same can be accomplished for
> Seaside..?

Seaside uses something similar since a long time. A notification
(resumable exception):
WACurrentSession value
gives you the current session.

Philippe

>  - Chris
>
> On 4/16/07, Sebastian Sastre <ssastre at seaswork.com> wrote:
> >
> >
> > Hi there,
> >
> >     has anybody found useful to have accesible the session from the model of
> > an application?
> >
> >     If so.. have you archieved this? If so.. how did you make it?
> >
> >     thanks,
> >
> >
> >
> > Sebastian
> >
> > PD: I'm asking this because I'm unable to think in a way to archieve this
> > and I want to access by reacheability an object stored in the odb that is
> > holded (only) by the seaside session and I want evade making things like
> > global system access to the ODB.
> >
> > _______________________________________________
> > Seaside mailing list
> > Seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
> >
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the Seaside mailing list