Subject: | _init_new_session() doesn't use session ID that was passed in to constructor |
I want to be able to specify the session ID for a new session. When I pass a session ID into the constructor and the session doesn't already exist, CGI::Session goes ahead and generates a new ID for me.
Patch:
183:
return $self->_init_new_session($claimed_id);
295,6:
my ($claimed_id) = @_;
$claimed_id ||= $self->generate_id($self->{_OPTIONS}),
300:
_SESSION_ID => $claimed_id,