Solved

ASP.NET_SessionID cookie doesnt work in iFrame

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

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 82

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 82

Expert Comment

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

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Now-a-days, indirectly, postal services have been replaced by email services. Yes, whenever we hear the word "email" a lot of people only think of gmail. Some people still think that email and gmail are one and the same thing :-). Let's see some …
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 nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
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 +…

707 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

13 Experts available now in Live!

Get 1:1 Help Now