[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] CAP::Apache and CAP::Session


should just be this simple...

Cees Hek wrote:
On Wed, 10 Nov 2004 18:22:47 -0500, Michael <suppressed> wrote:

Well, my vote is for using header_add and CGI::Cookie, since that's what
you are doing indirectly anyway, right?


OK, I'll switch it to use CGI::Cookie directly instead of using it
through CGI.pm.  I'll try and get this out soon, but patches are
always welcome.


--
Michael Peters
Developer
Plus Three, LP

--- /usr/lib/perl5/site_perl/5.8.3/CGI/Application/Plugin/Session.pm.OLD	2004-11-11 12:32:59.959890088 -0500
+++ /usr/lib/perl5/site_perl/5.8.3/CGI/Application/Plugin/Session.pm	2004-11-11 12:34:35.521362536 -0500
@@ -106,7 +106,7 @@
     $options{'-name'}  ||= CGI::Session->name;
     $options{'-value'} ||= $self->session->id;
     $options{'-path'}  ||= '/';
-    my $cookie = $self->query->cookie(%options);
+    my $cookie = CGI::Cookie->new(%options);
     $self->header_add(-cookie => [$cookie]);
 }
 

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed

Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.