c# - enable download on html from my asp page -


i want able download html contents of page client after receiving post request (xmlhttprequest , doing processing. there setting must enable possible? i've tried enabling coors via

           response.addheader("access-control-allow-origin", "*"); 

with no success. has found solution problem?

update: using asp.net web forms (with net 4.5)

well, think cors stuff cross origin scripting - enable javascript calls domain different original request. far getting html contents, believe mean response of web server posted client. not knowing technology have used (i.e., mvc, aspx, etc.) may want interceptors. differ depending on technology. aspx, check out....

http://www.codeproject.com/articles/30907/the-two-interceptors-httpmodule-and-httphandlers


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -