Web Analytics Made Easy -
StatCounter Cookie not settings in IE6 - CodingForum

Announcement

Collapse
No announcement yet.

Cookie not settings in IE6

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cookie not settings in IE6

    Hail all

    I have this piece of javascript:

    document.cookie="fadedin=yes; expires=Fri, 27 Jul 2020 02:47:11 UTC; path=/"

    which sets a cookie which prevents an annoying popup from being presented to users of my site after their first visit. It doesn't appear to work in IE6 though, could anyone shed some light on this?

    Thanks!

  • #2
    Don't suppose anyone got a clue?

    Comment


    • #3
      Originally posted by Plato View Post
      Don't suppose anyone got a clue?
      It might help if you show how you're reading it. It may be a user-setting that needs changing.

      While logged onto a local page, type this into the address bar :

      javascript:void(document.cookie="fadedin=yes; expires=Fri, 27 Jul 2020 02:47:11 UTC; path=/")

      and press Enter.

      Then type this into the address bar and press Enter :

      javascript:alert( document.cookie )

      You should see the cookie displayed.

      Comment

      Working...
      X