I'd like to create a wrapper around Apache::Session that would
automatically create the session based on either a query/POST parameter,
or a cookie (or try both), based on the code in
MasonX::Request::WithApacheSession.

My plan is to basically rip out the guts of that module, release it
separately, and then rewrite the module to use it.

It will work under mod_perl or standalone, using CGI::Cookie or
Apache::Cookie, and Apache::Request or CGI.pm.

Yes, I know about Apache::SessionManager but unfortunately it is tightly
tied into mod_perl, going so far as to subclass the Apache class (which I
think is a bad idea, in this case).

I don't think this module really belongs in the Apache:: namespace, since
it's not mod_perl specific.

It may belong in the CGI:: namespace, since it is web app specific.  Some
ideas that occur to me are:

 CGI::SessionManager

 - confusing given that we already have Apache::SessionManager &
   CGI::Session

 CGI::SessionWrapper

 Session::Manager
 Session::Wrapper

 - Yeah, a new TLNS!

 WebApp::Session

 - Another new TLNS!

 CGI::WhyHasn'tThisBeenWrittenBySomeoneElseAlready::Dammit


Ideas are very, very welcome.


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to