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?
If there are other ways to manage sessions in WEBrick, besides using
Tofu, that's OK with me, as well.
Thanks in advance.
--
Lloyd Zusman
ljz@asfast.com
God bless you.