[英]Is it possible to use JS Fetch with ViewState cross domain?
I'm using the fetch API to display a webpage inside of a floating widget.我正在使用 fetch API 在浮动小部件内显示网页。 The page has a form on it that uses viewstate.
该页面上有一个使用视图状态的表单。 It works fine if the widget is on the same domain as the page I'm fetching, but if I put the widget on a different domain, then I get an invalid viewstate error.
如果小部件与我正在获取的页面位于同一域中,则它可以正常工作,但是如果我将小部件放在不同的域中,则会出现无效的视图状态错误。 I have tried several things to resolve the issue, but none work.
我已经尝试了几件事来解决这个问题,但都没有奏效。 Does anyone know if it's possible to get this working?
有谁知道是否有可能让这个工作?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.