Move outside results in permission denied?

B

BLIZZARDICE

I will discribe my problem here but the second paragraph will discribe
my setup. I have been working on a project in house and we thouhgt we
were ready to move it outside for the client. However now that it is
outside I get a permission denied error on line 1 char 1. I am using a
simple javascript: parent.scriptname("argument") call. I have been
swithing all kinds of permisiions with no changes. Any ideas?

I am designing a website that is consumed by another website. Basically
I have a dll which wraps my website with a set of Iframes tags and then
displays inside. There is a dll that catches everything there website
does and passes it to mine. The javascript I am calling resides inside
this dll hence my parent.scriptname.

Thanks
Shane
 
B

BLIZZARDICE

I have come to the conclusion is is a matter of partial domain names vs
full domain names. (I could be wrong) My subpage thinks its
document.domain is mycompany.com while my parent page which envelopes
this page in an iframe thinks its document.domomain is
wonderful.mycompany.com. Is there a way to tell my website on load to
get the whole domain? or inherit it from its creater? (I don't think
the last one will work for security reasons.
 
K

Kevin Darling

BLIZZARDICE said:
I have come to the conclusion is is a matter of partial domain names vs
full domain names. (I could be wrong) My subpage thinks its
document.domain is mycompany.com while my parent page which envelopes
this page in an iframe thinks its document.domomain is
wonderful.mycompany.com. Is there a way to tell my website on load to
get the whole domain? or inherit it from its creater? (I don't think
the last one will work for security reasons.

You're probably right. Google for "cross frame scripting"

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/om/xframe_scripting_security.asp

Luck!
Kev
 
B

BLIZZARDICE

Thanks.
You didnt fix my problem but you remined one of us here about a
function they wrote into the head that stripped out the full domain
name in favor of just the company.com name on page load. That was
needed for a previous project. Good thing I sent everybody else home
for the day.

Shane
 
K

Kevin Darling

BLIZZARDICE said:

Welcome, but be aware that top-posting in replies will get you cremated
around here :)
You didnt fix my problem but you remined one of us here about a
function they wrote into the head that stripped out the full domain
name in favor of just the company.com name on page load. That was
needed for a previous project. Good thing I sent everybody else home
for the day.

The link I gave above at MSDN also mentions the ability to set
document.domain in each page, so that you don't have to do your head
trick.

Best, Kev
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top