Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Users

Safari, Sessions and Cookies

 

 

Catalyst users RSS feed   Index | Next | Previous | View Threaded


jeffreyianrobinson at gmail

Aug 11, 2012, 7:56 AM

Post #1 of 3 (240 views)
Permalink
Safari, Sessions and Cookies

In the latest version of Safari, if you transition from normal web
content to audio/video content the browser passes the request on to
Quicktime. This hand off causes a change in the user agent that is
reported to Catalyst, which in turn cause the Session to be reset.
Changing the initialization of session object to ignore the user agent
does not prevent the session data from being reset:

'Plugin::Session' => { expires => 1800, verify_address => 1,
verify_user_agent => 0 }

Anyone got any ideas as to how to resolve this?
Thanks - J

Jeff Robinson

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


stratman at gmail

Aug 13, 2012, 6:14 AM

Post #2 of 3 (224 views)
Permalink
Re: Safari, Sessions and Cookies [In reply to]

On Aug 11, 2012, at 9:56 AM, jeff robinson wrote:
> This hand off causes a change in the user agent that is
> reported to Catalyst, which in turn cause the Session to be reset.

Are you sure that's the reason? If you haven't already you may want to turn on debugging and take a close look at your logs. The session plugin outputs a message when it deletes the session data.

And if it is, in fact, an issue with the user agent, can you verify the configuration is being properly read?
Hopefully that gets you a step closer to figuring out what's going on.


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


jeffreyianrobinson at gmail

Aug 14, 2012, 11:54 AM

Post #3 of 3 (219 views)
Permalink
Re: Safari, Sessions and Cookies [In reply to]

Turned out to be Sarafi's support of the <audio> tag being less then
perfect. I put wireshark on the connection and noticed that Safari was
prematurely terminating the connection. This (via some end of session
code in the web sever) was starting a new session, which was in turn
creating the new cookie. So you were absolutely on the right trail.
Best - J

On Mon, Aug 13, 2012 at 9:14 AM, Mark A. Stratman <stratman [at] gmail> wrote:
> On Aug 11, 2012, at 9:56 AM, jeff robinson wrote:
>> This hand off causes a change in the user agent that is
>> reported to Catalyst, which in turn cause the Session to be reset.
>
> Are you sure that's the reason? If you haven't already you may want to turn on debugging and take a close look at your logs. The session plugin outputs a message when it deletes the session data.
>
> And if it is, in fact, an issue with the user agent, can you verify the configuration is being properly read?
> Hopefully that gets you a step closer to figuring out what's going on.
>
>
> _______________________________________________
> List: Catalyst [at] lists
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst [at] lists/
> Dev site: http://dev.catalyst.perl.org/

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

Catalyst users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.