Index: [Article Count Order] [Thread]

Date: Sun, 21 Nov 2004 03:49:29 +0900
From: Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
Subject: [webricken:133] Re: Session management (Tofu?)
To: webricken@notwork.org
Message-Id: <E8A6AD81-3B24-11D9-B428-000D9350318C@mva.biglobe.ne.jp>
In-Reply-To: <m33bz4a3u5.wl%ljz@asfast.com>
References: <m33bz4a3u5.wl%ljz@asfast.com>
X-Mail-Count: 00133

Hi.

On 2004/11/21, at 1:21, Lloyd Zusman wrote:

> Hello.
>
> I'm trying to manage sessions within WEBrick.
>
> I've seen something called Tofu which handles cookie-based sessions, 
> and
> I've come across something called WEBRick::Tofulet which seems to do
> what I want.
>
> I can see the sample Tofu code on this page:
>
>   http://pub.cozmixng.org/~the-rwiki/rw-cgi.rb?cmd=view;name=Tofu
>
> I see how the Counter works in the example shown.  However, I'd like to
> impose session management on an already-writtenWEBrick application that
> makes use of HTTPServlet and FileManager, and I can't quite figure out
> how to do that using Tofu.
>
> Can anyone point me to examples of how to do this, or perhaps some
> English documentation?

How about it?

http://pub.cozmixng.org/~the-rwiki/rw-cgi.rb?cmd=view;name=YourFirstDiv