Problem with Cookie Plugin

Problem with Cookie Plugin

Hi,

I'm using the cookie plugin and can't get the session cookie which is set by Rails:

  1. var session_id = $.cookie('_session_id');
session_id is null, but I can see the "_session_id" cookie in my cookie list of safari.
Whats wrong here? why can't I get that cookie?

Another crazy fact about this: If I set the cookie by myself with the cookie plugin I can get it, but when jquery is setting it automagically I cant access the cookie.

Thank you.