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

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


On Fri, 17 Jun 2005 15:56:21 +0900 (JST), David Emery wrote:

Hi Dave

> my %sess_table = (
> tablename=>my_sessions_table,
> session=>field_for_frozen_session_data,
> timestamp=>timestamp_field,
> email=>email_field,
> param_2=>dbfield_2,
> );
>
> my $session = new CGI::Session(
> "driver:MySQL",
> undef,
> {Handle=>$dbh},
> session_table =>\%table_params,

\%sess_table, perhaps.

> );

Fab.

Of course I get the sly joke about the new module being called CGI::Session.

-- 
Cheers
Ron Savage, suppressed on 17/06/2005
http://savage.net.au/index.html
Let the record show: Microsoft is not an Australian company



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