[Catalyst] Issue with Plugin::Session

jeff robinson jeffreyianrobinson at gmail.com
Wed Jan 5 16:07:50 GMT 2011


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' => 'jeffrobinson at bluestonetel.com'
      '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



More information about the Catalyst mailing list