?
Solved

ASP.NET_SessionID cookie doesnt work in iFrame

Posted on 2013-12-30
5
Medium Priority
?
846 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 84

Accepted Solution

by:
Dave Baldwin earned 2000 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 84

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 84

Expert Comment

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

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
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…

719 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