I am opening a popup window from main(parent) window and passing main windows cookie for session.
Both window are different sites and I use cookie to share some information. That is main window from site www.site1.com and opening popup window of www.site-two.com.
However if i logged out main (parent) window and cleared session cookie, then i refresh popup window in IE says, permission denied.
But works fine in Firefox, Chrome.
In site-two.com, popup.html
<script src="www.site1.com/JS/logoff.js" />
In Site1.com's logoff.js
function ClosePopup(){
self.opener.location = self.location.href; // Error permission denied
}
All the properties of self.opener are all saying 'Access Denied'
What could be the reason? Any help are appreciated !!