On 08/08/2013 12:27 PM, Alex Greif wrote: > Hi, > > I am completely new to rivet and have the following question: > In the user manual I found the description how to use sessions which > stores the session data in a DB > > Is there a way to store session data without a DB, say in cookies or on > the filesystem? >
of course a cookie management command exists (http://tcl.apache.org/rivet/manual2.1/cookie.html). In the first place Rivet wants to bring the Tcl command language into the Apache webserver. So there are no restrictions or limitations as to using filesystem I/O commands such as 'open' 'read' etc etc. Recently Harald Oelhmann found out the Tcl notifier (hence the event loop) is not working in a Rivet build with a threaded Tcl. A fix was proposed and applied to Tcl development in order to fix the problem and will be in the next patchlevel releases of Tcl 8.5/8.6. As a consequence if your running a threaded Tcl you cannot use 'fileevent' controlled callbacks. Provided you're doing synchronous I/O you shouldn't hit the problem -- -- Massimo Manghi Dipartimento di Neuroscienze Unità di Biofisica e Fisica Medica via Volturno 39 43125 Parma --------------------------------------------------------------------- To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org For additional commands, e-mail: rivet-dev-h...@tcl.apache.org