Skip Menu |

This queue is for tickets about the CGI-Application-Plugin-Session CPAN distribution.

Report information
The Basics
Id: 34370
Status: new
Priority: 0/
Queue: CGI-Application-Plugin-Session

People
Owner: Nobody in particular
Requestors: kbshiv [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Enhancement To CGI::Application::Plugin::Session
Date: Sun, 23 Mar 2008 21:04:37 +0530
To: ceeshek [...] gmail.com, bug-CGI-Application-Plugin-Session [...] rt.cpan.org
From: "K B Shiv Kumar" <kbshiv [...] gmail.com>

Message body is not shown because sender requested not to inline it.

Hi Cees, This is not a bug report but an enhancement request with the patch. It would be great if one can tell the CAP::Session object to "load" instead of "new" when calling $self->session. Something like this... $self->session_config( CGI_SESSION_OPTIONS => [ 'driver:mysql;serializer:Storable;id:md5', $q, {Handle=>$dbh} ], SEND_COOKIE => 0, DEFAULT_EXPIRY => '+2h', LOAD_ONLY => 1 ); Here is a diff of 1.03 for doing the same. Added 3 lines in session_config and modified 1 in session. Please do evaluate when you have time and let me know your views. If there's a better way of doing the same I'll really appreciate it if you could point me to the correct place (RTFM ;-) ) Cheers, Shiv