cookie expiry days in cookiestorage plugin

Hi

When I set my cookie expiry to one day cookiestorage plugin still uses
session expiry not a day but if I make it more than a day then it
works fine, bug or I am missing something?

getPlugin("cookiestorage").setVar("id", userID);

getPlugin("cookiestorage").setVar("id", userID, 1);

For both FireFox shows same expiry "At the end of session"
but

getPlugin("cookiestorage").setVar("id", userID, 2);

then the plugin sets the expiry to 2 days

Thanks
MAQ.

Hi MAQ,

This is a bug and it has been logged.

Thanks