• Hi,
    I’ve recently installed WordPress and put it within my already skinned website. I chose not to edit the themes, as just skinning it was easier. Now, I have a problem everytime someone changes the skin, when it goes back to the index (wordpress) the skin reverts to default as though the cookie that was saved was deleted. Does wordpress delete cookies? Is there some way around this so it doesn’t interfere with my skins?
    Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)
  • WP doesn’t touch other cookies.
    It sounds like the cookie just isn’t being set properly – something I’ve had before.

    https://www.alistapart.com/articles/alternate/
    The above works though – used it earlier on a site.

    Thread Starter meriadoctookme

    (@meriadoctookme)

    Well, I know the cookie gets set because every other page on my site will retain the cookie, that is, until I go to the wordpress folder (index.php). I don’t really think my skinning is a problem and changing the entire thing seems a little out of the way. Is there maybe some other way of altering WP? Or at least making sure the cookie stays for wordpress too?

    Thread Starter meriadoctookme

    (@meriadoctookme)

    Ok, I’m getting lost with WP. There is definitely something going on with the cookies. WP is obviously setting some but I was wondering if it was somehoe replacing other cookies or at the least, clearing ones out? I really need help on this.
    Here’s my site for you to see: https://champagneblue.com

    Thread Starter meriadoctookme

    (@meriadoctookme)

    bump. help?

    Shoot! I’m having the same exact problem. If I find a way to fix it I’ll come back. Best of luck. =( so complicated

    Thread Starter meriadoctookme

    (@meriadoctookme)

    bump.

    Did anyone get cookies working in WordPress… i have the same problem and i believethat i am setting the cookies correctly since non-wordpress parts of the site can access the cookie values.

    Also having the same problem :). It seems like the code running in the WP folder is detecting the cookie but doesn’t get the correct value. I’ll post if I find an answer.

    Ok. I’ve got it working for me. It seems like the problem was on the retreaval of the cookie, not the setting of it. I changed this line:

    $c_password = $HTTP_COOKIE_VARS[“Winelog_Password”];

    to

    $c_password = $_COOKIE[“Winelog_Password”];

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘wordpress cookies and skins?’ is closed to new replies.