Re: [Cgi-session-user] Session name, CGI::Session and CAP::Session (post from cgi-app mailing)
Brought to you by:
sherzodr
From: Cees H. <ce...@gm...> - 2008-02-15 23:20:43
|
On Sat, Feb 16, 2008 at 8:08 AM, Lee Carmichael <lec...@ya...> wrote: > [ Sorry for the dual post of the email, but I just realized there was a cgi-session mailing ] > > Hello Everyone, > > I am having a bit of an issue with how the 'name' attribute is being set on CGI::Session (CGI::Session->name). It is necessary to set the class value for 'name' before creating a session after which it is possible and useful to set it on the instance. I think that CGI::Session 4.10 fixed this by allowing you to call ->name as an instance method ( $session->name('MyName') ). However, I haven't used this with CGI::Application::Plugin::Session yet, so it might require a patch to the plugin to get it to work nicely. Cheers, Cees |