Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Iframe Module [...  Cookie functionality is turned off
Previous Previous
 
Next Next
New Post 4/11/2008 9:38 PM
User is offline ajsansone
172 posts
www.graphicsphere.net/
9th Ranked


Cookie functionality is turned off 

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. [?]


Anthony John Sansone
Graphicsphere.Net, President
Palm Harbor, Florida, U.S.A.
http://www.graphicsphere.net
View Anthony J. Sansone's profile on LinkedIn
 
New Post 4/12/2008 8:12 AM
User is offline Brandon Haynes
551 posts
everysport.net
8th Ranked


Re: Cookie functionality is turned off 

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 7:55 PM
User is offline Vitaly Kozadayev
687 posts
www.continure.com
7th Ranked






Re: Cookie functionality is turned off 

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 4:00 PM
User is offline Dave Hollas
71 posts
10th Ranked


Re: Cookie functionality is turned off 

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 4:22 PM
User is offline Vitaly Kozadayev
687 posts
www.continure.com
7th Ranked






Re: Cookie functionality is turned off 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Iframe Module [...  Cookie functionality is turned off
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNNMasters - modules, consulting, development
DNNMasters developers are involved in DNN development since DNN 1.0.9 and today we offer a broad range of DNN related products and services including custom development of modules, help with ing third party modules for specific needs, general DNN technical support and administrative services.
www.dnnmasters.com
Cygnusoft Custom Software
Cygnusoft has been providing cutting-edge custom software solutions for 20 years. Cygnusoft is also a leading start-up incubator, helping our partners build successful new businesses.
www.cygnusoft.com
Digicon: DotNetNuke design and development
Digicon is based in Brisbane, Queensland, Australia
digicon.com.au

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP