You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by Alex Greif <al...@greifdesign.net> on 2013/08/08 12:27:34 UTC
session storage
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?
Thanks,
Alex.
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org
Re: session storage
Posted by Massimo Manghi <ma...@unipr.it>.
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-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org