设置多个Web园导致HttpContext.Current.Application、静态变量不能取值的问题
2011-09-19 13:24
393 查看
设置多个Web园会出现多个进程并发,达到了负载均衡和增加数据库连接数的目的,但同时也带来了很多的问题,其中最多的就是Application、Session丢失的问题,虽然可以通过建立状态服务器的方式解决Session丢失的问题,但Application和静态变量的问题始终得不到解决,难道必须要建立分布式架构才行?多个进程难道不能共享一个主进程ID?盼解答!
相关文章推荐
- 异步 HttpContext.Current实现取值的方法(解决异步Application,Session,Cache...等失效的问题)
- 异步 HttpContext.Current实现取值的方法(解决异步Application,Session,Cache...等失效的问题)
- 异步 HttpContext.Current实现取值的方法(解决异步Application,Session,Cache...等失效的问题)
- 异步 HttpContext.Current实现取值的方法(解决异步Application,Session,Cache...等失效的问题)
- 有关httpContext.Current.Session[值] 取值的问题
- 异步 HttpContext.Current实现取值的方法(解决异步Application,Session,Cache...等失效的问题)
- httpContext.Current.Session[值] 取值的问题
- 文件上传 content-type:application/json System.Web.HttpContext.Current.Request.InputStream 读取不到数据
- System.Web.HttpContext.Current.Server.MapPath("~/upload/SH") 未将对象引用设置为实例对象
- 使用Nginx代理,HttpContext.Current.Request.Url.Host.ToString()获取地址是原地址的问题。
- System.Web.HttpContext.Current.Session为NULL值的问题?
- JPA+Spring下,applicationContext.xml中的entityManagerFactory中的class设置问题
- MySQL数据库参数设置不当导致应用不能连接问题
- HttpContext.Current.Cache使用文件依赖问题
- HttpContext.Current.Server.MapPath("/") 未将对象设置到对象的实例异常。
- HttpContext.Current.Session ,出现未将对象引用设置到实例上
- System.Web.HttpContext.Current.Session为NULL值的问题?
- remote_listener 设置问题导致数据库不能打开
- System.Web.HttpContext.Current.Session为NULL值的问题?