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

查看:100
本文介绍了当我编辑的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天全站免登陆