Well, as i found out, there where two cookies stored with the same name in the cash, for some reason it didn't erase them. I have cleaned the cash with a third party program and then it actually worked as it should be. Neither IE or Chrome had cleaned the cookies as supposed to do. Thank you very much for your reply it got me in the right direction.