[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] [OT] CGI::Session is good, but we can do better (a new project is born?)


On Fri, 17 Jun 2005 02:11:11 +0000 (UTC), Mark Stosberg wrote:

Hi Mark

Permit me to make a few comments.

> I've had a number frustrations with CGI::Session and am considering
> creating yet another alternative. What I have liked about

Apache::Session, although unsupported, may contain useful ideas.
Likewise, Apache::Session::Manager and Apache::SessionManager.

> operations on one table. It's unhelpful that it dumps the whole
> session object into one database column. This limits the usefulness

Ahh, I personally find that feature effortless, but I'm aware of your preference for field per column.

The alternative would be fine, too, of course.

> - The storage focus will database-centric, not file-centric. Use
> DBD::SQLite if you don't want/have a real DB. This will make it

OK - but my tests showed (to my satisfaction, if to no-one else's) the SQLite is unreliable and therefore useless under Windows.

Frankly, I would never use it on any platform after what I've seen, but hey, if it works for you, use it.

I use files under GNU/Linux only because I've never managed to get CGI::Session to work with Postgres there. I'd certainly be very happy indeed if this new module worked under all OSes I have to deal with.

> Class::DBI seems like a natural foundation for this. Although I

Hmmm. Maypole is un-installable under Windows (at least by someone as unskilled as myself), the problems being with Perl modules.

I have briefly used Class::DBI under Windows, so that may be OK.

I just mention this in case the outcome involves more than Class::DBI and results in your new module not being usable under Windows.

And, yes, I understand some people (I'm not implying you of course) have a policy of ensuring their modules do not run under Windows.

Also, I've read on the mod_perl mailing list people express exasperation at CGI::Session's crude handling of errors, so it does not surprise me people seek alternatives...

Anyway, if it's going to be as good as Data::FormValidator, go for it!
--
Ron Savage
suppressed
http://savage.net.au/index.html


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.