Hey, http://www.plotshare.com/session.lua<file:///C:/Documents%20and%20Settings/krieger/My%20Documents/tutorials/000545_VHDLTestbenchTutorial.pdf>
should work, please check again. Currently the session files are saved in a Session directory, where each session will get it`s own directory. I need this, because each user can create files, and a variable number of files are harder to save in a database. If you intend to save those sessions in a database, you probably have to create something like session model in orbit, leaving all the database handling to orbit. For the serialization, also look into the http://www.plotshare.com/serialize.lua which was provided by cgilua (together with the sessions). Regards, Ben On Mon, Mar 1, 2010 at 4:35 AM, Ryan Pusztai <rpusz...@gmail.com> wrote: > 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/ >
_______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/