A related comment:
On Sat, Mar 04, 2006 at 09:26:24AM -0500, Cees Hek wrote:
Show quoted text>
> > I wanted to run this idea by you:
> >
> > When using a different cookie name, let's call CGI::Session->name()
> > automatically.
> >
> > I can't think of a reason not to, this is currently the only place that
> > requires talking to CGI::Session directly.
>
> The reason I haven't done this automatically is because I don't like
> the way that CGI::Session handles this. You are effectively setting a
> global variable, and that can have nasty repercussions if you are
> running under mod_perl (ie sessions failing for some programs
> intermittantly as the session name is changed dynamically at runtime
> for only some of the apache children). ideally, CGI::Session should
> allow you to change the name of the cookie in the options when you
> create your Session object. If that change was made to CGI::Session,
> then I'll quickly add code to CAP::Session to make it all more
> seemless.