Solved

ASP.NET_SessionID cookie doesnt work in iFrame

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
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.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

813 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

12 Experts available now in Live!

Get 1:1 Help Now