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