Solved

ASP.NET_SessionID cookie doesnt work in iFrame

Posted on 2013-12-30
5
828 Views
Last Modified: 2013-12-31
Hi All,

I look after a friends website.  One of the pages has an iFrame calendar on it

The calendar is no longer pulling through.

If I enter the iFrame URL into a browser, then reload the main page, the iFrame works.  

However if I delete the ASP.NET_SessionID cookie on the iFrame page and reload the main page, the iFrame fails.

This suggests the ASP.NET_SessionID cookie on the iFrame that doesnt work when loaded in an iFrame.

Main Page
http://www.disney-villa.co.uk/availability.php

iFrame
http://andrewcollier.ciirus.com/EmbedCalendar.aspx?PropertyID=42122&Rows=4&Cols=3


Any ideas?
0
Comment
Question by:detox1978
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 39746589
It appears to be working in the current version of Firefox.  And it gives Page Not Found in IE8.  What browser and version are you using?

Try using this for the link: http://andrewcollier.ciirus.com/EmbedCalendar.aspx?PropertyID=42122&Rows=4&Cols=3   This version worked in IE8.
0
 
LVL 2

Author Comment

by:detox1978
ID: 39746635
I changed the code so it reloads the iframe after the html body loads, which fixes the issue on Chrome and Firefox.

But it still occurs on IE... Page Not Found, is the issue.  If you load the iFrame in a browser and refresh the page it should load.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39746666
The link you posted above for the calendar page does not work at all in my IE8.  The modified link I posted does work in IE8 (and Firefox).  You have to copy it as text and paste it into your code and browser.
0
 
LVL 2

Author Comment

by:detox1978
ID: 39748222
I spoke to the compay that supply the link and they'd changed the URl to;

http://andycollier.ciirus.com/EmbedCalendar.aspx?PropertyID=42122&Rows=4&Cols=3&report=false&HideKey=True
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39748732
Cool, that works in IE8 here.
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question