Problem with cookies in IE6

KarenArt's picture

She has: 354 posts

Joined: May 2001

Hi all!

Well I've got a problem and not a clue what's wrong.
I have a customer that can't seem to get logged into one of my private forums. I have checked the database and he is definately in there... and he's tried logging in with the right information.

I asked him to go to karencardinal.com/Website/layouts.php to see if he could make the layout change... see if he was accepting cookies.

This is what he wrote back:

Quote: For some reason its not taking cookies from certain sites. It seems to be working for the more corporate stuff (fox, cnn etc) I'm using IE 6.0.280.1106 for XP, w/ the following updates SP1, Q832894,q330994,q83709,q831167,q823353,q867801. Security level is* set @ medium and Privacy is set to accept all cookies. I'm pretty competent w/ computers and this one has me stumped. Hope you have some more ideas.

I have no idea what is causing his problems.
Could some of you smart people out there help me please?

gotta finish redesigning my sites so I can show them again.

The purpose of education is... to get more jokes!

openmind's picture

He has: 945 posts

Joined: Aug 2001

Get him to goto Tools > Internet Options > Privacy and click the advanced button

Select the "Override automatic cookie handling" and ask him to try adjusting those levels. Also try making sure that "Always allo session cookies" is ticked. By trial and error he should then find a safe setting for himself...

KarenArt's picture

She has: 354 posts

Joined: May 2001

Thanks so much for the advice Phil!

I'll send it along to him and see what he says.

Guess you can tell I know squat about Windows or IE6. Wink

KarenArt's picture

She has: 354 posts

Joined: May 2001

Hmmmmm... well he wrote back and said that didn't work for him. Sad

I'm not sure how that system decides which cookies to accept and which one not to. On Safari all I have to do is decide if I want to accept cookies always, only first party cookies or never... that to me makes sence.

I'm using the bares bones minimum to set the cookies.
On the forum page (which is perl) I have The script check the user name and password, make sure their subscription hasn't run out (because the forum is part of a subscribed service) and check to see if they want to stay logged in or log out at the end of each session.
All it does to set the cookie...

$SetCookies1 = cookie(-name => "$cookieusername",
-value => "$username",
-path => "/",
-expires => "$ck{'len'}");
$SetCookies2 = cookie(-name => "$cookiepassword",
-value => "$password",
-path => "/",
-expires => "$ck{'len'}");
'

The php page is even simpler since I'm not looking anything up in a database.

$stylename = $_REQUEST['stylename'];
    setcookie("KCstylesheet", "$stylename", time() + (365 * 86400), '/');
print "<script> window.location.replace(\"layouts.php\");</script>";
'

Sooooo is it a setting or security issue with this customer's system or is there something I should add to the cookie?

I'd appreciate any help!
Thanks!

gotta finish redesigning my sites so I can show them again.

The purpose of education is... to get more jokes!

Busy's picture

He has: 6,151 posts

Joined: May 2001

Just check they have emptied their Temporary Internet Folder lately, if that is full can cause weird things to happen sometimes

KarenArt's picture

She has: 354 posts

Joined: May 2001

Thanks so much for the advice Busy!
I've been offline so I haven't been able to forward that to him yet.
Hopefully this will get it.

I keep suggesting to everyone that they need to ditch IE, but so far it's not making a big difference. Wink

gotta finish redesigning my sites so I can show them again.

The purpose of education is... to get more jokes!

reciprocal_link's picture

He has: 13 posts

Joined: Oct 2004

You many want to find out if they are using a fire wall. If so, it could be the settings that they are using.. For instance norton use to prompt me if I would accept or deny a cookie and I could set it where never to ask me again and no do not accept cookies..

He has: 1,758 posts

Joined: Jul 2002

Quote: bares bones minimum to set the cookies

I might have got the wrong end of the stick here, but some browsers have issues if you don't provide values for ALL of the cookie fields (name,value,expire,path,domain,secure). You only seem to be setting four of these values.

Andy

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.