Wrox Programmer Forums
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 18th, 2007, 11:22 AM
Registered User
Join Date: Feb 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Iframe and Authentication

Hi. I have a page in an IFRAME that uses forms authentication, but for some reason the authentication is not working, I assume is not creating the cookie. If I open the site in an new windows and authenticate then the page inside my iframe works ok.
Is there any security feature or configuration setting I should use to allow the iframe to create the authentication cookie?


Old April 18th, 2007, 11:49 AM
Wrox Author
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

What do you mean "not working"? When working in a frame, anything done in that frame is independant of all the other pages outside of it until you force the other pages to refresh from the server.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
================================================== =========
Why can't Programmers, program??
================================================== =========
Old April 18th, 2007, 01:47 PM
Registered User
Join Date: Feb 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

sorry. I guess I should have given more detail.

I have an IFRAMED page that has a admin login using forms authentication. When I type in my user name and password it should change the location of the IFRAME to the admin page. Instead it brings me right back to the login screen. If I go directly to the login page without the iframe it logs in fine.

One thing to note is that the admin page is on a different domain than the page it's contained in.


Lower left hand corner of the frame is Admin Login link. That brings you to the login page.

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to get out from Iframe k.manisha ASP.NET 2.0 Professional 1 September 12th, 2007 12:20 PM
values from one iframe to another iframe URGENT raaj Beginning PHP 2 February 27th, 2007 12:19 PM
iFrame fyp4135 ASP.NET 2.0 Basics 0 October 5th, 2006 11:32 AM
iframe help splinterz HTML Code Clinic 12 April 13th, 2005 01:42 AM
iframe rockon HTML Code Clinic 1 March 2nd, 2005 06:00 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.