Current location: Hot Scripts Forums » General Web Coding » JavaScript » cross server error: access is denied


cross server error: access is denied

Reply
  #1 (permalink)  
Old 03-14-06, 01:06 AM
kuraiza kuraiza is offline
New Member
 
Join Date: Mar 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Angry cross server error: access is denied

I've been doing some research into this annoying error I get when I try to load pages on different servers into an iframe.

Apparently IE6 has bumped up security to prevent this from happening?

The thing is, it doesn't actually stop the page from loading, but the error prevents my other javascript functions from continuing.

Is there a way to script something to ignore the error?

I tried:

function ClearError() {
history.go()
return true;
}

window.onerror = ClearError;

but this sent my page into an eternal loop, I guess because I have a function called from body onload.??

Any ideas that might help me, and countless others who seem to be having the exact same problem?
Reply With Quote
  #2 (permalink)  
Old 03-14-06, 01:31 PM
TwoD TwoD is offline
Community VIP
 
Join Date: Sep 2003
Location: 404
Posts: 1,813
Thanks: 0
Thanked 0 Times in 0 Posts
JavaScript isn't allowed to access anything outside the current domain. And as far as I know, there's no way around it.
What is it that your script is supposed to do but can't because of the error?
__________________
[W3Schools - learn all about the standards.] [QuirksMode - Browser Quirks] [MS's Online Reference Docs] [DOM in Gecko.]
Please pay attention to stickys, announcements and forum rules, thank you.
Please also remember Code Wrappers and [SOLVED] Marking, this helps everyone.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GameWarrior.net High Performance Game Servers / Ventrilo gamewarrior General Advertisements 0 01-10-06 07:12 AM
Free web site, control panel, and dedicated IP with game server purchase for only $25 twastudios General Advertisements 3 10-20-05 06:13 AM
Free Server Security Audit by Touch Support TSGradyR General Advertisements 0 03-30-05 11:35 PM
Admin Lite by Touch Support TSGradyR General Advertisements 0 02-23-05 07:04 PM
FREE Team Speak server w/ every purchase of a Call of Duty Server twastudios General Advertisements 0 10-31-03 01:14 AM


All times are GMT -5. The time now is 11:04 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.