For FF3, you can access the cookies.sqlite file with any SQLite shell - however, check if FF works - it could be a record-blocking file (not verified).
The database contains the following:
TABLE moz_cookies ( id INTEGER PRIMARY KEY, name TEXT, value TEXT, host TEXT, path TEXT, expiry INTEGER, lastAccessed INTEGER, isSecure INTEGER, isHttpOnly INTEGER )
Not sure about the primary key, it looks like it's the unix timestamp when the cookie was created; expiry and lastAccessed are also unix timestamps, the rest is self-evident.
Try INSERT INTO moz_cookies and see if FF immediately finds out about the new cookie or reloads.
source share