Hi Benjamin, On Sun, Feb 28, 2010 at 4:54 PM, Benjamin von Ardenne < benjamin.von.arde...@googlemail.com> wrote:
> Hey, > > you can find the modified session.lua here: > http://plotshare.com/sessions.lua > The link does not work. > You usually use session.open(id) either with an id or nil (so a new session > id will be created) this functions automatically loads the session, if it is > available. Via session.data you can access and store all your data. Don`t > forget to call session.save() after big changes, so these things will be > remembered. I really like the concept of serialization in lua because you > still edit your data afterwards. Also it is very easy to use and in my > opinion perfect for small to medium session sizes. > This seems exactly what I looking for. I use session in a way that it is saved on the server and everyone else can > access these sessions by the session id. That is very convenient when you > want to share certain things - like on > http://www.plotshare.com<http://www.plotshare.com%C2%A0> > . > How do I save them into a database instead of on the server? is it going to be with sessions.lua? Thanks again. -- Regards, Ryan
_______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/