Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WSS V3 PageViewerWebPart cross-site scripting issue

Status
Not open for further replies.

ewarmour

Programmer
Mar 24, 2003
1
0
0
US
I have a WSS V3 site with the domain (for example) that uses a PageViewerWebPart to hold a page from a different domain
On the content page ( I have a link button in which I add .Attributes.Add("OnClick", "parent.location.reload();"); because on click I want to reload the parent page:
It seems fairly straight forward except I get
“A Runtime Error has occurred. Error: Permission denied”

I’m pretty sure this is because the reload is coming from a different domain and the browser is preventing Cross-site scripting. Is there a way around this?

I need to have the site refresh when the link on the content page is clicked.


Thank you for any help and or ideas.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top