SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Cookie Problem

  1. #1
    SitePoint Wizard ChrisRoss's Avatar
    Join Date
    Jun 2002
    Location
    MI
    Posts
    2,535
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cookie Problem

    I have a problem that I can't figure out how to fix. I recently changed hosts and during the change my sites domain switch to an IP address (until DNS kicked in).

    When the DNS finally kicked in and I changed all the IP references back to my domain , users started having problems. They started getting "Bad arguments to implode()" errors. The only way to fix it was to delete the old IP cookie.

    Is there a way I can delete an old cookie of a visitors browser automatically or do I have to talk the through it? Or does anyone have any other ideas?
    Golf Outings? OutingCaddy.com
    Organize - Invite - Create Free website for your golf outing!

  2. #2
    SitePoint Zealot
    Join Date
    Jul 2002
    Posts
    168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't think you can delete cookies. But you could try to reset them: recreate the same cookie with good values (or empty) 'onload' of the page. (resetting the expiration date to something in the past will only delete the cookie when the users closes the browser.)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •