MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Error in Loading Application (Closed) (Mono Support )

Viewed 5133 time(s), 8 post(s) 11/18/2013 11:17:11 AMby Dinesh.Sajwan
Dinesh-Sajwan

Dinesh.Sajwan

11/18/2013 11:17:11 AM
Hi,

We are experiencing a problem in MONOX application in IE.Situation is , we are opening the application in iframe from an application hosted on another domain by passing some parameter to a page on MONOX created by us for receiving parameters.
Functionality of this page is , it accepts parameters from calling application and creates sessions in MONOX and set required properties for MONOX.Now, it is working fine in Chrome, Mozilla but in IE the session created on LOGIN page are not accessible in another pages of MONOX, hence it throws an exception.

Please help us!

Regards
Sumit
This content has not been rated yet. 
1284 Reputation 156 Total posts
khorvat

khorvat

11/18/2013 11:47:18 AM
This is probably an issue with IE security & iFrame. Please review everything around that and get back to us.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
mzilic

mzilic

11/18/2013 12:05:27 PM
I believe that IE gives lower level of trust to IFrame pages. So you need to create a P3P policy. More information is available on this page: http://www.w3.org/P3P/details.html and here: http://msdn.microsoft.com/en-us/library/ms537341%28vs.85%29.aspx

Regards,
Mario
Rated 5.00, 1 vote(s). 
2218 Reputation 300 Total posts
Dinesh-Sajwan

Dinesh.Sajwan

11/18/2013 12:40:38 PM
Thanks Mario.

We are creating a new P3P policy, will picg you if still it is not solved.

Regards
Sumit
This content has not been rated yet. 
1284 Reputation 156 Total posts
Dinesh-Sajwan

Dinesh.Sajwan

11/18/2013 2:02:43 PM
Hi Mario,

after implementing p3p in request headers now sessions are getting accessed but now whole page is not getting loaded only some portion is getting loaded. Can you please help.

here is the code which we have added..

HttpContext.Current.Response.AddHeader("p3p","CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"");
Regards
Sumit
This content has not been rated yet. 
1284 Reputation 156 Total posts
Dinesh-Sajwan

Dinesh.Sajwan

11/18/2013 2:32:42 PM
Hi Mario,

We found out that item data bound function is not getting called when call is getting generated from IE.
like in Wallnotes.ascx in init()  this code is written.
this.TemplatedControl.ItemDataBound += new EventHandler<ListViewItemEventArgs>(lvItems_OnItemDataBound);

when my client browser is IE then lvItems_OnItemDataBound is not getting fired but from chrome this is getting fired...

please help
Regards
Sumit
This content has not been rated yet. 
1284 Reputation 156 Total posts
Dinesh-Sajwan

Dinesh.Sajwan

11/20/2013 5:06:28 AM
Hi,

We have resolved the issue by adding P3P settings in custom respose header at IIS level.

Regards
Sumit
This content has not been rated yet. 
1284 Reputation 156 Total posts
imarusic

imarusic

11/20/2013 7:57:30 AM
Hi,

we are glad that you managed to resolve your issue.

Regards.
This content has not been rated yet. 
3016 Reputation 428 Total posts