Cookie issue: Remove cookie with a Button?

Discussion in 'PHP' started by mrwangkai, Jun 30, 2009.

  1. #1
    I'm currently working on a upload and crop web app that was a modified version of the "PHP & JQuery Image Upload And Crop V1.2" by WebMotionUK.

    The upload and crop works great, but when I try to return to the uploader and upload a new image, after I have uploaded an image, it will just reload the page.

    The link is: http://www.mrwangkai.com/wallpaper/main.html

    Here is the process to get the problem that I'm describing:
    1. Go to http://www.mrwangkai.com/wallpaper/main.html
    2. Choose any of the devices' sizes.
    3. Upload a random image and click "upload image"
    4. Now, instead of crop, click on the link that say to delete and upload a new image or just click home.
    5. Finally, try to upload another image. Instead of bringing you to the second 'page' where you can crop the newly uploaded image. You are brought back to the same page after some loading

    Then I try to remove cache/cookies separately and realize that cookie is causing the problem. am just wondering if there is a way to assign the removal of cookie to a button or a link?

    Thanks for any help!

    Best,
    Kai
     
    mrwangkai, Jun 30, 2009 IP
  2. Louis11

    Louis11 Active Member

    Messages:
    783
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    70
    #2
    Louis11, Jun 30, 2009 IP