Solved

ASP.NET_SessionID cookie doesnt work in iFrame

Posted on 2013-12-30
5
813 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
  • 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Registering DLL 5 43
How to access a DataBinder.Eval variable using C# ? 4 27
Show banners that are blocked by Ad Muncher 10 46
What .NET URL re-routing tool did I use? 2 37
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.
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
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…

910 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now