The following code works fine in FF:
var date = new Date(); date.setTime(date.getTime() + (1 * 24 * 60 * 60 * 1000)); expires = \"; expires=\" + date.toGMTSt
Chrome doesn’t store cookies from the pages which are loaded from local file system. For example if you are accessing a HTML file in chrome browser from local file system(ex: file:///C:/Users/deepak.r/Desktop/test.html), cookies are not supported.