Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Safari Cookie Problems?

Safari Cookie Problems?
Thread Tools
Fresh-Faced Recruit
Join Date: May 2001
Location: Chicago, IL
Status: Offline
Reply With Quote
Jan 15, 2003, 08:51 PM
 
So, I was wondering if anyone else has encountered this problem with Safari -- the inability for php to read its cookies.

For example, when signing in to my personal site's admin section, I have php write a cookie...

header ("Set-cookie: User=MYNAME;");

which is then listed in Safari's cookie list (so it writes the cookie), but then I have my next page read the cookie...

$User = $_COOKIE["User"];

if ($User) {
//ACTIONS, like show $User, etc.
}

And my actions don't take place. It won't even print the $User, so it seems like it can't read it at all. These pages and actions work in all other browsers though.

Anyone else experience this problem?
--Life is short. Find meaning and live boldly.--
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:16 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2