SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist
    Join Date
    Jan 2005
    Location
    UK
    Posts
    539
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Remote js and cookies

    I have some js on domain A applying updates to my html page on domain B using jsonp.
    All functioning great, however, I need to set and retrieve cookies on this domain B with the js/php on domain A. How can I achieve this? Really hoping this is possible!

  2. #2
    SitePoint Evangelist
    Join Date
    Jan 2005
    Location
    UK
    Posts
    539
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Mostly fixed, it seems js can in fact read and write remote cookies! Didn't think this would be normal behaviour...expected a complicated workaround for corss-domains!


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
  •