473,405 Members | 2,141 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Access denied, but in same domain

Rob
Hi,

I have a popup which updates a field in the opening window then
submits the form the field is in. If I try to use the popup again
(performing the same action) i get an 'Access is denied' error. When
the form in the opener is submitted it reloads itself with the new
data, domain stays the same. I have similar functionality in the site
which works ok.

The only thing to note is that the form being submitted is in an
iFrame and its target is '_top'. The bit that does work is in an
iFrame but doesnt have a target, this might be the problem, if it is
then i'll be stuck!

Cheers for any help,
Rob.
Jul 23 '05 #1
3 1939
Rob wrote:
I have a popup which updates a field in the opening window then
submits the form the field is in. If I try to use the popup again
(performing the same action) i get an 'Access is denied' error. When
the form in the opener is submitted it reloads itself with the new
data, domain stays the same. I have similar functionality in the site
which works ok.

The only thing to note is that the form being submitted is in an
iFrame and its target is '_top'. The bit that does work is in an
iFrame but doesnt have a target, this might be the problem, if it is
then i'll be stuck!


So, to summarise you question; you are asking why one piece of code that
we cannot see, interacting with a number of HTML pages which we also
cannot see, is acting differently form another piece of unknown code
interacting with another set of invisible HTML pages. Is that the gist
of the question?

Richard.

Jul 23 '05 #2
On 1 Jul 2004 10:18:07 -0700, Rob <gr*****@yahoo.co.uk> wrote:
I have a popup which updates a field in the opening window then
submits the form the field is in. If I try to use the popup again
(performing the same action) i get an 'Access is denied' error. When
the form in the opener is submitted it reloads itself with the new
data, domain stays the same. I have similar functionality in the site
which works ok.


try setting document.domain on both documents to the same value.
(eg: document.domain = 'mydomain.com'; )
Jul 23 '05 #3
Something to consider...

I had problems with cookies because a page accessed at
www.mydomain.com wrote a cookie that a popup using an address at
mydomain.com (i.e. no www.) tried to read. Easy to fix once I
realised what was happening but as the popup had no address bar or
status bar visible it took some figuring out to realise it had lost
the www.

Your problem doesn't mention cookies but might it be a similar
underlying cause?

On 1 Jul 2004 10:18:07 -0700, gr*****@yahoo.co.uk (Rob) wrote:
Hi,

I have a popup which updates a field in the opening window then
submits the form the field is in. If I try to use the popup again
(performing the same action) i get an 'Access is denied' error. When
the form in the opener is submitted it reloads itself with the new
data, domain stays the same. I have similar functionality in the site
which works ok.

The only thing to note is that the form being submitted is in an
iFrame and its target is '_top'. The bit that does work is in an
iFrame but doesnt have a target, this might be the problem, if it is
then i'll be stuck!

Cheers for any help,
Rob.


Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Jim Andersen | last post by:
Hi, I made a DTS-package and it works when I execute it manually, but when it is run by the SQL Server Agent, it fails. I have use the guide to create a maintenance plan. That doesn't work so...
2
by: Wang, Jay | last post by:
I try to open up a window with window.open in javascript. "domain.html" contains domain information 'domain.school.edu'. The "Access denied" problem happens when document.write is trying to put...
9
by: | last post by:
Hi All, I have allready tried to ask a similar question , but got no answer until now. In the meantime, I found, that I cannot understand some thread-settings for the Main() function . If I use...
12
by: Chad Crowder | last post by:
Hi all, I hope someone can give me a hand, because I'm out of ideas. I keep getting this message: Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET...
4
by: Martin | last post by:
Hi, I am getting an "Access Denied" error when attempting to browse asp.net pages. I have installed ASP.NET 1.1.4322 on a domain controller. The machine also has ASP.NET 1.0.3705 installed on...
3
by: PromoteDirect | last post by:
Newsgroups: comp.lang.javascript Subject: access denied when trying to pass data between jsps Date: Thu, 09 Mar 2006 10:42:01 -0800 I have two jsp applications. One written with struts and one...
2
by: johkar | last post by:
I am getting an Access denied error when I write to a new window. The situation and code are outlined below. I am setting the domain in the main window. The problem is that the window I am...
1
by: cpajoe2001 | last post by:
I am having an issue and after searching around online for a day and half now and finding others with the same problem but yet no solution to my issue I am looking for help. What i have is ServerA...
0
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi. I'm using System.Web.Mail to compose and send a message. I'm receiving an "Access is denied" error message when non-Domain Administrators attach files to the MailMessage. My allows users...
8
by: Jeremy Ames | last post by:
I am trying to move an application from my system to a new test system. I really should have tried an easier program first, but I didn't really have a chance. My application was originally written in...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.