Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Cookies not working in IE6 - but only sometimes.
Old 10-30-2006, 09:22 PM Cookies not working in IE6 - but only sometimes.
Junior Talker

Posts: 2
Name: John Kieken
Trades: 0
I'm here out of desperation.

My very simple cookie scripts were created using off-the-shelf standard Javascript commands. I tested these on various Windows and Mac browsers and all seemed to work.

I'm setting the name, path, domain name, and expiration date.

There is a problem with my customer not having the cookie functionality on her computer (Windows XP)

I tested it on XP here and it works fine.

I have another XP box here and the cookies do not work at all. (They're not being created and no warning notice is being generated)

So now I compared the two to find the differences.

Both are running Win XP SP2.
Both have identical default security settings.
Both have the exact same latest version of IE 6.
Both have all the latest Win XP SP2 updates applied.

Yet one computer is reading and writing the cookies and the other one isn't.

I even changed the security settings down to accept ALL cookies just to test it out, and still no cookies. I've read quite a bit about P3P blocking cookies but before I spend hours and hours going down a dead-end, I figured I'd see what you all think. I'm not sure P3P is blocking them since it still doesn't work when the settings are set to the lowest.

I'm not doing anything substantial. I'm just setting and storing two variables that I need to access again across pages and user sessions. The information has nothing to do with the user's personal information- in fact the user is totally anonymous as far as my script is concerned. I'm only trying to retain the user's selection on a select menu for any future visits to the page.

My head hurts.

Last edited by sparky672; 10-30-2006 at 09:23 PM.. Reason: grammar & clarity
sparky672 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-30-2006, 09:53 PM Re: Cookies not working in IE6 - but only sometimes.
Junior Talker

Posts: 2
Name: John Kieken
Trades: 0
<BIG forehead slap> Stupid, stupid, stupid....

After playing around with the "domain= ;" part of the cookie, I discovered what I was doing wrong and also what my customer was doing wrong...

We are still in the testing phase and we have several domain names parked on the server.

I was testing the page on a second computer through the wrong domain name! Doh!!

And of course, my customer was also looking at the page through the wrong domain name as I provided her the original link!

Oh well, at least I didn't have to create any P3P compliant documents.

Sorry for the waste of time but at least my post might help someone else that can't see the forest through the trees.

sparky672 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Cookies not working in IE6 - but only sometimes.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting 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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15102 seconds with 12 queries