Open External URL into a window With Cookies

  1. #1

    Open External URL into a window With Cookies

    Urgent please.
    hello,
    I am trying to open an external website into an Ext window but I have to set cookies to be read by this external website.

    I tried the javascript method "document.cookie" and the path is:"/" but it is not working. the external website loaded in the window is not reading the cookie.

    Please any help? this is very urgent.
  2. #2
    Hi,

    I don't think that is possible? Unless there is a mechanism I am unaware of I think it would be a security violation to be able to set cookies on any other web site other than your own?

    You may want to contact the external web site provider to see if they support APIs that you can use instead?

    Or, if the other site can support receiving them, HTML5's window.postMessage() functionality may be useful? https://developer.mozilla.org/en-US/...ow/postMessage

    Hope that helps.

Similar Threads

  1. Replies: 5
    Last Post: Jun 20, 2018, 1:53 PM
  2. Replies: 10
    Last Post: Mar 06, 2014, 3:29 PM
  3. [CLOSED] Force a external Page to open in a Window
    By Peter.Treier in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 13, 2013, 10:02 AM
  4. Replies: 3
    Last Post: Aug 21, 2012, 11:43 AM
  5. Replies: 3
    Last Post: Jun 10, 2011, 1:17 PM

Tags for this Thread

Posting Permissions