Yes that makes a lot of sense. I have a simple Singleton::Session module which I use on one of my projects.
It uses the MySQL driver, but that is irrelevant here.
In the code I just use:
my $session = Singleton::Session->instance(); $session->param( "bob" );
In reply to Re: RFC Singleton Sessions
by skx
in thread RFC Singleton Sessions
by derby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |