gpt4 book ai didi

asp.net - 当我编辑 web.config 时会发生什么?

转载 作者:行者123 更新时间:2023-12-03 05:17:19 24 4
gpt4 key购买 nike

我需要在实时 Sharepoint 环境中编辑 web.config 文件,但我不确定这样做会发生什么(我想输出自定义错误)。

这会导致IIS6工作进程回收吗?

活跃用户会因此失去 session 状态吗?

或者我可以安全地编辑该文件吗?

最佳答案

应用程序池将重新启动并且 session 状态将丢失。想象每个 ASP.NET 应用程序(如 IIS 中所定义)都是桌面上的一个程序。保存 web.config 将执行类似于关闭程序并重新打开它的操作。

关于asp.net - 当我编辑 web.config 时会发生什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/178342/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com