Why browser don't allow ajax request cross domain ?

Discussion in 'JavaScript' started by 2mk_atspace, Jan 21, 2008.

  1. #1
    Is there any security reason why browser don't allow ajax request cross domain ?
     
    2mk_atspace, Jan 21, 2008 IP
  2. MMJ

    MMJ Guest

    Messages:
    460
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Ask Google that.
     
    MMJ, Jan 21, 2008 IP
  3. webexpert

    webexpert Banned

    Messages:
    188
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    no security reasons, it is just not allowed.. you cannot make ajax requests using http..
     
    webexpert, Jan 22, 2008 IP
  4. MMJ

    MMJ Guest

    Messages:
    460
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #4
    you really don't know what you are talking about.

    No offense intended.
     
    MMJ, Jan 22, 2008 IP
  5. webexpert

    webexpert Banned

    Messages:
    188
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    ooops - actually i wanted to say; in ajax response we can only get the html, i mean if there are any css or javascripts included as external files then we cannot have full functional page as ajax response.. makes sense now?

     
    webexpert, Jan 22, 2008 IP
  6. MMJ

    MMJ Guest

    Messages:
    460
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Somewhat. :)
     
    MMJ, Jan 22, 2008 IP
  7. webexpert

    webexpert Banned

    Messages:
    188
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    oh - Thank God ;)

     
    webexpert, Jan 22, 2008 IP