SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jan 2003
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cookies issue with IE - need help!

    I'm using JavaScript to set a cookie. When I set the path attribute of the cookie to "/", everything works fine. However, I want to limit access to the cookie to the page that created it. Thus, I want to be able to set the path attribute to location.pathname (for example /home/src/accounts.html). I can set cookies fine in IE and Mozilla, but only Mozilla is able to get the cookie. IE can't match the cookie path for some reason. Any ideas? Your help is greatly appreciated!

  2. #2
    SitePoint Member
    Join Date
    Jan 2003
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    bump


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
  •