Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 App Pools Crendentials 对 WebRequest 进行身份验证?
我有一个网站,它自己调用一个页面,但我不断收到 401....
我认为这行不通。您对本网站使用什么类型的身份验证?您可能会考虑为您请求的页面创建一个镜像页面,为该页面打开安全性,但需要在 URL 中传递一个令牌。您可以在发出请求之前将令牌存储在缓存中,然后比较请求何时到来。
你为什么这样做,打印 PDF 什么的?