[Catalyst] Invalid session ids being generated

Hartmaier Alexander Alexander.Hartmaier at t-systems.at
Fri May 9 15:49:48 BST 2008


Delete the session cache file!
I had a similar problem.

-Alex


-----Original Message-----
From: Ryan Pack [mailto:rpack at genares.com] 
Sent: Friday, May 09, 2008 1:03 AM
To: The elegant MVC web framework
Subject: RE: [Catalyst] Invalid session ids being generated

I was able to fix it by downgrading Catalyst::Plugin::Session.  We were
on 0.13 until I upgraded to .19 (latest) along with a bunch of other
Catalyst modules.  Just as a last resort before I downgraded everything
back to the way it was I tried just downgrading
Catalyst::Plugin::Session and it worked!  Woohoo!

Ryan Pack

Programmer

Genares Worldwide Reservations

P. 817-722-2834

F. 817-442-0600


-----Original Message-----
From: Daniel Westermann-Clark [mailto:dwc at pobox.com] 
Sent: Thursday, May 08, 2008 2:00 PM
To: The elegant MVC web framework
Subject: Re: [Catalyst] Invalid session ids being generated

On 2008-05-07 17:38:12 -0500, Ryan Pack wrote:
> My Catalyst app is using Session::State::Cookie,
> Session::State::URI, and Session::Store::DBIC.  We recently started
> using the param option in Session::State::URI.  We were tacking the
> session id onto the base URL but now it is being included as a
> parameter.  Anyways, when you first make a request, a cookie is set
> with a valid session_id but uri_for returns the url with a totally
> different session id which doesn't even exist in the database.

Please send the output of a full request cycle using the debug flag.
For example, with the built-in server:

DBIC_TRACE=1 ./script/*server.pl -r -d

I'm not sure that using two Session::State plugins is recommended.  At
the very least, have you set the no_rewrite_if_cookie flag for
Session::State::URI?

-- 
Daniel Westermann-Clark

_______________________________________________
List: Catalyst at lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive:
http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

_______________________________________________
List: Catalyst at lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH   Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be privileged.
If you are not the intended recipient, please notify the sender and then delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*


More information about the Catalyst mailing list