Retain login with iframe

I am creating an internal dashboard and I am using an iframe to display a website that requires a login. But when I login to the iframe site then go to a different page on the webflow site and return to the webflow page with the iframe the iframe website is logged out. Is there anyway around this?