Thanks Aria ! But, it still not working... I have deleted the lines in client side and when I try it again , the problem with cross Domain is still there
What's it happening? El miércoles, 20 de agosto de 2014 23:38:09 UTC+2, Aria Stewart escribió: > > > On Aug 20, 2014, at 2:45 PM, nnodejs <[email protected] <javascript:>> > wrote: > > Hi guys! > > I have a problem using Ajax (side client) when I'm trying to request from > other domain, I know that this is caused by cross domain, but I can't find > any solution to fix it! > My app have to parse a HTML webpage to use some relevant information of > it. So I use Ajax to get it. > here is my code on the server, I'm using express.js: > > > [snip] > > > res.header("Access-Control-Allow-Origin", "*"); > > > [snip], client: > > xhrFields: { > > withCredentials: true > > }, > > > The combination of these two isn't allowed: give a specific origin. * > isn't allowed in combination with withCredentials. > > Aria > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/277cbea9-bbfd-4aad-93fa-901dc94ac5a0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
