Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To 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 November 19th, 2007, 12:31 PM
Registered User
 
Join Date: Nov 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default iFrame vs. cookie issue.

Here is the scenario:
1. Clear your IE cash and cookies.
2. Go to tutorial-index.com
3. You will see that the site recorded you a tutorial-index cookie.
4. Clear the cookies and cash again.
5. Create HTM file and put the following code in it:
<html xmlns='http://www.w3.org/1999/xhtml' >
<head><title></title></head>
<body><iframe src="http://www.tutorial-index.com" height="1000" width="1000"></iframe></body>
</html>
6. Run just created file.
7. Now check your cookie folder. RESULT: no cookie.

I've been fighting with this iFrame vs. cookie issue for over 2 days. I cannot pinpoint the problem. Anyone can explain to me why it's happening and how I can fix the issue?
 
Old November 21st, 2007, 03:34 AM
Authorized User
 
Join Date: Sep 2007
Posts: 56
Thanks: 0
Thanked 1 Time in 1 Post
Default

Google Creating Cookies with P3P for some solutions....its an issue within IE....you can either lower your security settings or add a special header which you can find by googling the above mentioned :)

http://mynameissteve.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Cookie prv299 ASP.NET 2.0 Professional 3 May 29th, 2008 11:26 AM
values from one iframe to another iframe URGENT raaj Beginning PHP 2 February 27th, 2007 12:19 PM
Cookie Handling mahulda General .NET 1 August 23rd, 2004 06:58 AM
IFRAME Issue babloo81 Javascript 7 March 17th, 2004 05:25 AM





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