Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFrameCookie functionality is turned offCookie functionality is turned off
Previous
 
Next
New Post
4/12/2008 12:38 AM
 

I get the following error message when logging into my google account through the iframe module: Your browser's cookie functionality is turned off. Please turn it on. [?]

 
New Post
4/12/2008 11:12 AM
 

Hi Ajsansone,

Cookie handling inside an IFRAME is fraught with difficulty.  IE is particular sensitive with iframes pointed at a domain that differs from the IFRAME parent's domain, which is what you're trying to do.  I'm not sure about Firefox's approach.  Disabling cookies in this circumstance helps reduce the surface area present for cross-site scripting attacks.

You might be able to circumvent your problem with some scripting, or by adding google.com to your list of trusted sites.  Google "cookies inside iframes" for more information.

Hope this helps!


Brandon Haynes
BrandonHaynes.org
 
New Post
4/12/2008 10:55 PM
 

It's actually not that difficult to fight :)

By default, IE is set up to deny thrid-party cookies. This means that if you put a different domain page inside the IFrame, those pages will not be allowed to handle cookies. You can turn it on by going to Tools > Internet Options > Privacy > Settings and turn on Override automatic cookie handling and select Accept third party cookies. 


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
4/14/2008 7:00 PM
 

Is there any way to communicate to the user during this failure?  Perhaps to pass along the instruction/guidance for changing the Internet Options..


Incredible PeopleWare.Canada
 
New Post
4/14/2008 7:22 PM
 

If you control the page you are displaying inside the IFrame - then, yes - just check for cookie permissions via javascript and, if it's off, display a message. However, I am not sure if there is a programmatic way to check for that sort of problem on your host page. Perhaps you can always include a tiny text somewhere on the side?


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFrameCookie functionality is turned offCookie functionality is turned off


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out