[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?)


From: Mark Stosberg <suppressed> on Date: Fri, 17 Jun 2005 02:11:11 +0000 (UTC)
> I've had a number frustrations with CGI::Session and am considering
> creating yet another alternative. What I have liked about CGI::Session
> is the general interface. While I'm at home writing custom SQL, I liked
> having the session code wrapped up in a neat little object, fairly
> separate from the rest of the database logic. 
> 
> Class::DBI seems like a natural foundation for this. Although I haven't
> ( yet ) implemented an application with Class::DBI, this might be it. 
> I've made a little chart of the key methods of CGI::Session, and how
> they might be implemented in a Class::DBI-derived application. 

The couple of times I've tried working with Class::DBI, I found that
it was quite noticably slow compared with doing the same thing via SQL
+ DBI. I think that could be a problem with something like sessions
that tend to get run on every request.

On a related note, have you looked at Apache::Session? I've read
somewhere that it doesn't actually depend on mod_perl as the name
would imply.

Dave

---------------------------------------------------------------------
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.