473,382 Members | 1,424 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,382 software developers and data experts.

This page is accessing information that is not under its control.

3
Hi all i am getting the following error message when my feedback form is posted:

"This page is accessing information that is not under its control. This poses a security risk. Doyou want to continue."

Let me first say, my feedback page and thank you pages are in the same domain.
my webservice.htc file is in the same diectory as my feedback.jsp page.
I am using IE 6 (my companiy is IE specific)

If i click OK, all code and everything works as expected. I am just tryingto eliminate the annoying IE message.

Here is my script code...
Expand|Select|Wrap|Line Numbers
  1. function onFeedback ()
  2.  {
  3.   //Get WS call ready
  4.   webServiceCallerBody.useService   ("http://<server>/CFE_SW/sw_api.asmx?WSDL","ehro");
  5.  
  6.  
  7.         var Priority = document.form1.Priority.options[document.form1.Priority.selectedIndex].text;
  8.         var theDate = document.form1.theDate.value;        
  9.         var ID =  document.form1.EDSNet.value;
  10.         var Name = document.form1.Name.value;
  11.         var Email =document.form1.Email.value;
  12.         var Purpose = document.form1.Purpose.options[document.form1.Purpose.selectedIndex].text;
  13.         var Comments = document.form1.feedback.value;
  14.  
  15.         var c = "Priority: " + document.form1.Priority.options[document.form1.Priority.selectedIndex].text+ "\n";
  16.         c = c + "Effective Date: " + document.form1.theDate.value + "\n";
  17.         c = c + "ID: " + document.form1.ID.value + "\n";
  18.         c = c + "Name: " + document.form1.Name.value + "\n";
  19.         c = c + "Email: " + document.form1.Email.value + "\n";
  20.         c = c + "Purpose: " + document.form1.Purpose.options[document.form1.Purpose.selectedIndex].text + "\n";
  21.         c = c + "Comments/Suggestions: " + document.form1.feedback.value+ "\n";
  22.  
  23.         var To = "feedback@ADS.com";  
  24. //        var To = "KnowledgeManagement@ads.com";         
  25.         //var feedme = document.form1.feedback.value ;
  26.         var CID = "<%=cptDet.id%>";
  27.  
  28.  
  29.  
  30.         //call webservice        
  31.         iCallID = webServiceCallerBody.ehro.callService("sendEmail",Priority,theDate,ID,Name,Email,To,Purpose,Comments, CID );
  32.  
  33. document.form1.feedback.value = c;
  34.         document.form1.target = "_self";
  35.         document.form1.action="ne?lnk=frmRight.FeedbackSave&cid=<%=cptDet.id%>";
  36.         document.form1.method="post";
  37.         document.form1.submit();
  38.  
  39.         document.form1.target = "_blank";
  40.            document.form1.action="http://<server>/swe_static/ADS_KME/ThankYou.aspx?Priority=" + Priority + "&theDate=" +theDate+ "&EDSNet=" +EDSNet+ "&Name=" +Name+ "&Email=" +Email+ "&To=" +To+ "&Purpose=" +Purpose+ "&text= " +Comments+ "&CID=" +CID;
  41.         //alert(document.form1.action);            
  42.         document.form1.method="post";
  43.            document.form1.submit();
}

Any ideas or thoughts are appreciated.
Thanks in advance.
Aug 17 '07 #1
1 21003
acoder
16,027 Expert Mod 8TB
See this page (the 3rd question).
Aug 18 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: Mark Goldin | last post by:
Very simplified: namespace humanres { public class main2 : System.Web.UI.Page {
2
by: vineetbatta | last post by:
Hi all, i have a user control which allows the user to enter Name& Address in text boxes. I use the same user control in the main page... Is there a simple way of accessing the Name &...
2
by: Willy | last post by:
Hi All! Is there any ways to get access to the controls contained in another user controls from an ASP.NET page? For example I have... - User Control A |_ User Control B (which uses User...
1
by: Reny J Joseph Thuthikattu | last post by:
Hi, I have added a web user control to my project and placed some common controls over there.In order to access the control from another web page i registered with it(aspx page) using register tag...
5
by: Patrick | last post by:
I understand it is built in behaviour that if an ASP.NET's web.config is set to: <customErrors mode="RemoteOnly" /> then I only get a detailed error message on screen when the ASP.NET...
3
by: Paul | last post by:
I have a .net web app with a page that has several controls such as a datagrid, a dropdown list box buttons, labels with many controls bound to datasources. The page was done with grid layout. ...
6
by: evandelagrammaticas | last post by:
Hi all. I have spent the better part of a day scouring the newsgroups and I am sure that I must have come across the solution a number of times - but I am still a real newbie at asp.net so please...
2
by: BobLaughland | last post by:
Hi There, I am writing an ASP .NET 2.0 web site. Just wondering how I can stop people accessing a certain page when they shouldn't. For example I have 2 pages, test1.aspx
2
by: dm3281 | last post by:
Hi all -- I have a strange issue. I have obtained a scripted database and compiled ASP.NET 2.0 application from a sister site that I'm trying to implement locally. I have successfully...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.