[Seaside] State sharing between all sessions?

Avi Bryant avi.bryant at gmail.com
Tue May 24 16:13:22 CEST 2005


On 5/24/05, Damien Cassou <damien.cassou at laposte.net> wrote:
> > If the state is simple enough, you can do something like this:
> > 1. keep the state in the image, in a global/class variable that all
> > sessions can access
> > 2. every time it changes, write it to disk/db
> 
> I do not understand the need of writing to disk. If it is to save data
> in case of a crash, why not saving data every 10 minutes for example ?

That would be fine if you were ok with losing up to 10 minutes of data
changes...

Avi


More information about the Seaside mailing list