Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. access denied??????? why???????????

access denied??????? why???????????

Scheduled Pinned Locked Moved ASP.NET
helpjavascriptcomtoolsquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mr mohsen
    wrote on last edited by
    #1

    hi friends i have problem in use ajax: i use below code on my webpage: code=YUhSMGNEb3ZMMnh2WTJGc2FHOXpkQzl1WlhkelgzTmxjblpsY2k1b2RHMXM=&id=4"> and use utility of the site "newsletter" but in the javascript file i have below code: function add_user(name,mail,newsID,userID) { xmlHttp=GetXmlHttpObject() if (xmlHttp==null) { alert ("Your browser does not support AJAX!"); return; } var url; url="http://www.toolsfa.com/rssnews.aspx?type=add&name="+name+"&mail="+mail+"&newsID="+newsID+"&userID="+userID; xmlHttp.onreadystatechange=stateChanged; *** xmlHttp.open("GET",url,true); xmlHttp.send(null); } now when i refresh my webpage when debuging come to specific line with 3 stars below error appear and do not perform any action:"Access Denied..." why? and what am i doing to fix it????? thank you

    nobody help you... you have to help you yourself and this is success way.

    M 1 Reply Last reply
    0
    • M mr mohsen

      hi friends i have problem in use ajax: i use below code on my webpage: code=YUhSMGNEb3ZMMnh2WTJGc2FHOXpkQzl1WlhkelgzTmxjblpsY2k1b2RHMXM=&id=4"> and use utility of the site "newsletter" but in the javascript file i have below code: function add_user(name,mail,newsID,userID) { xmlHttp=GetXmlHttpObject() if (xmlHttp==null) { alert ("Your browser does not support AJAX!"); return; } var url; url="http://www.toolsfa.com/rssnews.aspx?type=add&name="+name+"&mail="+mail+"&newsID="+newsID+"&userID="+userID; xmlHttp.onreadystatechange=stateChanged; *** xmlHttp.open("GET",url,true); xmlHttp.send(null); } now when i refresh my webpage when debuging come to specific line with 3 stars below error appear and do not perform any action:"Access Denied..." why? and what am i doing to fix it????? thank you

      nobody help you... you have to help you yourself and this is success way.

      M Offline
      M Offline
      Manikandan net
      wrote on last edited by
      #2

      where is the above page exisit? is it in differnet URL? Normally you can't call across the server because it's a security issue, your browser will not allow you to perform this operation.you can call only your project/url pages.

      Manikandan.net [Coding is life]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups