Skip Menu |
 

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

Report information
The Basics
Id: 7399
Status: resolved
Priority: 0/
Queue: CGI-Session

People
Owner: MARKSTOS [...] cpan.org
Requestors: rob.kinyon [...] progressive-medical.com
Cc:
AdminCc:

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



Subject: _init_new_session() doesn't use session ID that was passed in to constructor
Download (untitled) / with headers
text/plain 409b
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,
Date: Wed, 18 Aug 2004 14:35:37 -0600 (MDT)
From: Sherzod Ruzmetov <sherzodr [...] handalak.com>
To: via RT <bug-CGI-Session [...] rt.cpan.org>
Subject: Re: [cpan #7399] _init_new_session() doesn't use session ID that was passed in to constructor
RT-Send-Cc:
Download (untitled) / with headers
text/plain 412b
: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. This is not a bug, but a feature. To be able to specify your own IDs, checkout attached CGI::Session::ID::Static instead. -- Sherzod B. Ruzmetov <sherzodr@handalak.com> <URL: http://author.handalak.com >
Download Static.pm
text/x-perl 2.1k

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

Download (untitled) / with headers
text/plain 326b
Thank you very much for the module. I will test that. Would you be able to add this to the CGI::Session distribution? The reason I ask is that this would allow CGI::Session to be used with Randal Schwartz's suggestion of how to implement two-layer sessions, seen at http://www.stonehenge.com/merlyn/WebTechniques/col61.html
From: "Sherzod Ruzmetov" <sherzodr [...] handalak.com>
To: <bug-CGI-Session [...] rt.cpan.org>
Subject: RE: [cpan #7399] _init_new_session() doesn't use session ID that was passed in to constructor
Date: Fri, 20 Aug 2004 16:34:09 -0400
RT-Send-Cc:
Download (untitled) / with headers
text/plain 209b
Show quoted text
> Would you be able to add this to the CGI::Session distribution?
This is already a part of CGI-Session-4.0, which hasn't been released for the public yet. Planning to finish it up by fall. -- Sherzod
From: markstos [...] cpan.org
Download (untitled) / with headers
text/plain 409b
[sherzodr@handalak.com - Fri Aug 20 16:34:34 2004]: Show quoted text
> > Would you be able to add this to the CGI::Session distribution?
> > This is already a part of CGI-Session-4.0, which hasn't been released > for > the public yet. > Planning to finish it up by fall.
Now that CGI-Session-4.0 has a developer release out including this module, I think this ticket can be considered resolved. Mark


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.