Win a copy of Spring Boot in Practice this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

IE6 - Remove cookies using java or javascript

 
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am facing the following issue:

when i login to my application, i am setting the value of a cookie. Cookie name = TESTCOOKIE.
When i logout, say the click of a link, i am programmatically removing the cookie as follows:


If i dont close the browser window and tried to login again, i see the following:
  • TESTCOOKIE
  • TESTCOOKIE=5130015848645758769


  • The second value is the expected value. I understand that the first value is because of me deleting the cookie.
    I see this happening in IE6 only. Can anybody let me know, if i can remove the first TESTCOOKIE from the list.

    Because of two cookies with the same name, i am unable to login to the application again.
     
    reply
      Bookmark Topic Watch Topic
    • New Topic