Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

print of iframe reloads resources and doesnt send sameSite cookie after kb4511872 security update

$
0
0

After installing kb4511872 patch one of features on my website stopped working.

I use SESSION cookie for authorization. And I use iframe for printing a peace of html on the website.

Flow is next

user clicks on print button -> it creates iframe via JS with src the same as on the website -> put html there ->  call print() method of iframe

so, print works, but because iframe doesn't send cookie SESSION server return 302 and tries to redirect user on login page and set new unauthorized SESSION cookie. And it breaks all the website, because for this unauthorized SESSION cookie server doesn't return 200...  How to force iframe to send SESSION cookie, so server wouldn't return 302 with SET-COOKIE: *unauthorized session here* header? 


 





Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>