Inconsistency in JQuery Cookie

Inconsistency in JQuery Cookie

Hi,

I am have two cookies as follows

$.cookie("cookie1") and $.cookie("cookie2").

When I set cookie1 with some value, the same value is being set to cookie 2 automatically. I am not getting why it is happening so.

I am setting cookie 1 as follow

$.cookie("cookie1" , "TestValue" , { path:'/' } );

Could anyone help me regarding this.