close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Security Assist page in iframe - different domain

Thread began 12/03/2009 12:20 pm by bjgarner241692 | Last modified 12/03/2009 2:00 pm by Jason Byrnes | 1227 views | 3 replies |

bjgarner241692

Security Assist page in iframe - different domain

I have created an app using DataAssist and Security Assist.
When I browse directly to the login page, everything works perfectly.

Deployment however has the app in an iframe on one domain (the content being on a second domain)

Browse to DomainA, go to page holding iframe pointed at content on DomainB
Login works fine with Firefox, but not with Internet Explorer.

I'm stumped. The action of logging in takes place on DomainB regardless of the fact that the page is held in a frameset. It should be seamless, but it is not. In IE, my login fails if the login page is held in an iframe, but works if browsed directly.

Sign in to reply to this post

Jason ByrnesWebAssist

This is a limitation to iFrames.


Regardless of the fact that the page is being served in an iframe on domain A, the session cookie that is created when you login is for domain B.

The iFrame cannot see the session cookie for domain B though, it can only see the session cookie for the page that is hosting the iFirame.

Sign in to reply to this post

bjgarner241692

Thank you,
Strange that it works in Firefox. I backtested IE6 and it also failed in IE6.

Sign in to reply to this post

Jason ByrnesWebAssist

The iFrame was a Microsoft creation. It is not a part of the W3C standard. I believe it was first introduced as part of IE5. When it was first introduced, you could only use iFrames in IE, other browsers did not support it.

since it is not a standard part of the HTML specification, you will get mixed results across browsers. Since it is an element created by Microsoft for IE, I would say the IE behavior is correct. This is a rare instance where FireFox is not implementing the element correctly.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...