[Cgi-session-user] [Fwd: [rt.cpan.org #34280] Incorrect session ID for subdomain]
Brought to you by:
sherzodr
From: Mark S. <ma...@su...> - 2008-03-20 15:24:43
|
Here's a new bug report on CGI::Session if anyone wants to help with it. Mark -------- Original Message -------- Subject: [rt.cpan.org #34280] Incorrect session ID for subdomain Date: Thu, 20 Mar 2008 07:48:36 -0400 From: Тимур Кондратьев via RT <bug...@rt...> Reply-To: bug...@rt... To: undisclosed-recipients:; References: <RT-...@rt...> <47E...@ad...> Thu Mar 20 07:48:34 2008: Request 34280 was acted upon. Transaction: Ticket created by ma...@ad... Queue: CGI-Session Subject: Incorrect session ID for subdomain Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: ma...@ad... Status: new Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=34280 > Hello. I have 2 different sites: site.com and sub.site.com both using CGI::Session When I go to sub.site.com there are 2 session cookies are being sent, first with Host: .site.com and second with Host: sub.site.com The problem is CGI::Session use first cookie, which isn't valid for sub.site.com, thus creating new session each time you hit sub.site.com Changing $CGI::Session::NAME is not the option cause both sites run on same server under mod_perl persistent environment. Versions: # $Id: Session.pm 353 2006-12-05 02:10:19Z markstos $ $CGI::Session::VERSION 4.20 This is perl, v5.8.8 built for i386-freebsd-64int Thank you. -- . . . . . . . . . . . . . . . . . . . . . . . . . . . Mark Stosberg Principal Developer ma...@su... Summersault, LLC 765-939-9301 ext 202 database driven websites . . . . . http://www.summersault.com/ . . . . . . . . |