<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="DejaVu Sans Mono">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.</font></font><br>
<br>
-- <br>
<br>
Jon Schutz<br>
<a class="moz-txt-link-freetext" href="http://notes.jschutz.net">http://notes.jschutz.net</a><br>
<br>
On 01/06/2011 02:37 AM, jeff robinson wrote:
<blockquote
cite="mid:AANLkTim8+Y3EM=XRBVAS2A4NRF4KV9s_eM8Avr51fKBG@mail.gmail.com"
type="cite">
<pre wrap="">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' => '<a class="moz-txt-link-abbreviated" href="mailto:jeffrobinson@bluestonetel.com">jeffrobinson@bluestonetel.com</a>'
'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: <a class="moz-txt-link-abbreviated" href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</a>
Listinfo: <a class="moz-txt-link-freetext" href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a>
Searchable archive: <a class="moz-txt-link-freetext" href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a>
Dev site: <a class="moz-txt-link-freetext" href="http://dev.catalyst.perl.org/">http://dev.catalyst.perl.org/</a>
</pre>
</blockquote>
</body>
</html>