[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.4

Setting document.domain property gives Invalid Argument error

Asked by mrabbani in Web Browsers

Tags: invalid, argument

Hi,

There are two servers

Server 1:
servername1.abc.xyz.com

Server 2:
servername2.abc.xyz.com


I have an asp page having 3 frames on Server1. (the top frame, the left frame and the mainframe). I trying to call an asp page from the left frame to be displayed in the mainframe from a different server (Server2) which is also in our own domain. I am able to see the page for the first time but getting an "Access Denied" error when i click on any other link afterwards.

I am trying to set the document.domain property in a body onload javascript function in both the pages (The left frame page and the page that is being called from the other server), but it is not assigning the value and giving the "Invalid Argument" error.

//function called from the body onload
function SetDomain ()
{
   alert(document.domain); //gives machine name
   document.domain="xyz.com"; //giving invalid argument error

}

When i do an alert(document.domain); it is returning my computer name but when i am trying to set the value, it is giving me the invalid argument error.

Is this the only way (document.domain) to solve this problem? I would really appreciate and award maximum points for any help on this.

Thanks,
Rabbani

[+][-]12/19/03 10:25 AM, ID: 9973978Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Web Browsers
Tags: invalid, argument
Sign Up Now!
Solution Provided By: shivsa
Participating Experts: 3
Solution Grade: A
 
[+][-]12/19/03 12:22 AM, ID: 9970641Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12/19/03 12:24 AM, ID: 9970651Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12/19/03 09:38 AM, ID: 9973609Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12/19/03 10:19 AM, ID: 9973928Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12/19/03 10:30 AM, ID: 9974028Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12/19/03 10:32 AM, ID: 9974052Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12/19/03 04:30 PM, ID: 9976073Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12/19/03 05:06 PM, ID: 9976162Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12/23/03 02:35 PM, ID: 9994126Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/28/04 10:06 AM, ID: 10220315Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091118-EE-VQP-93