Could it be that you are working on localhost:3000 and/or other ports? I recall cases where some browsers don't deal with localhost and/or port numbers correctly. For example, if you have had sessions running on localhost:2999 and localhost:3000, the browser might be ignoring the port and sending cookies for both, so Catalyst might be taking the wrong cookie. Suggest you look at the Set-Cookie and Cookie headers on the wire to work out what's going on.
-- Jon Schutz http://notes.jschutz.net On 01/06/2011 02:37 AM, jeff robinson wrote: > Hi > Having a prblem with Safari and IE browsers and the Session plugin. > The app works fine with Firefox, but session data is being reset > between requests with these other browsers. > > Example: > > DB<1> x $c->session > 0 HASH(0xac06a3c) > '__address' => '10.87.199.12' > '__created' => 1294242706 > '__updated' => 1294242706 > '__user_agent' => 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X > 10_4_11; en) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/4.1.3 > Safari/533.19.4' > > After a single request using Safari, its now: > DB<2> x $c->session > 0 HASH(0xad41888) > '__address' => '10.87.199.12' > '__created' => 1294242721 > '__updated' => 1294242721 > '__user_agent' => 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X > 10_4_11; en) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/4.1.3 > Safari/533.19.4' > > Exact same everything, except using Firefox > DB<1> x $c->session > 0 HASH(0xc2f9b70) > '__address' => '10.87.199.12' > '__created' => 1294243509 > '__updated' => 1294243509 > '__user_agent' => 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; > en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 GTB7.1' > > After single request using FF. > > DB<2> x $c->session > 0 HASH(0xc2f3d18) > '__address' => '10.87.199.12' > '__created' => 1294243509 > '__updated' => 1294243538 > '__user_agent' => 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; > en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 GTB7.1' > 'user' => HASH(0xc31738c) > 'accesscode' => 681430 > 'companyid' => 'bluestone' > 'email' => '[email protected]' > 'first' => 'jeff' > 'last' => 'robinson' > 'roles' => 'admin' > 'serverid' => 'cpark-s1-v0' > 'shortcompanyid' => 'blue' > 'validate' => 'yes' > > > Any ideas?? - J > > Catalyst 5.80029 > | Catalyst::Plugin::ConfigLoader 0.28 > | Catalyst::Plugin::Session 0.31 > | Catalyst::Plugin::Session::State::Cookie 0.17 > | Catalyst::Plugin::Session::Store::File 0.18 > > _______________________________________________ > List: [email protected] > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/[email protected]/ > Dev site: http://dev.catalyst.perl.org/
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
