当我编辑 web.config 时会发生什么? [英] What happens when I edit web.config?

查看:14
本文介绍了当我编辑 web.config 时会发生什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I need to edit the web.config file on a live Sharepoint environment, but I'm unsure what will happen if I do (I want to output custom errors).

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

Will this cause the IIS6 worker process to recycle?

活跃用户会因此失去他们的会话状态吗?

Will active users lose their session state because of this?

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

Or can I safely edit the file?

推荐答案

应用程序池将重新启动,会话状态将丢失.假设每个 ASP.NET 应用程序(在 IIS 中定义)都是桌面上的一个程序.保存 web.config 将执行类似于关闭程序并重新打开它的操作.

The application pool will restart and session state will be lost. Imagine each ASP.NET application (as defined in IIS) is a program on the desktop. Saving web.config will do something similar to closing the program and reopening it.

这篇关于当我编辑 web.config 时会发生什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆