So it seems the problem is finally solved. I used the script from
to the top i've put: var page = "something.php";
to avoid ie cache problem, i'put this into something.php (probably one of them is enough, 'cos these are redundant):
header( 'Cache-control: no-cache' );
header( 'Cache-control: no-store' );
header( 'Pragma: no-cache' );
header( 'Expires: 0' );
rest of the code
Probably it can be more elegant, but it's just working.Maybe it can help someone with the same problem.
Thx for the help.