本文介绍了奇怪的网络花园问题...... :(的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我的网站有一个奇怪的问题。我将我的网站配置为在 2工作进程下运行。 (启用网络花园)。并且我将我的用户信息 存储在当前的httpcontext中(例如 Httpcontext.current.items.add(" __ currentuser",myUserobject")并检索 用户对象如(user = (UserType)Httpcontext.current.items [" __ currentuser"])。网站 基于表单的身份验证身份验证。我使用登录控制 并自定义验证方法。 没有血腥问题。我打开了两个IE窗口。并尝试登录 网站使用两个单独的帐户(1@1.com和 2@2.com )。登录过程 成功,但在此之后,两个IE窗口都显示 1@1.com的 信息(而不是 1@1.com 的一个 2 @ 2.com )。 这与网络花园有什么关系..? 我认为两个IE窗口应该是两个独立的请求,因此两个浏览器的 httpcontexts应该是不同的。我是我的仪式吗? 欢呼I have a strange problem in my website. I configured my website to run under2 worker processes. (web garden enabled). and I stored my user informationin the current httpcontext(likeHttpcontext.current.items.add("__currentuser", myUserobject") and retrievethe user object like (user =(UserType)Httpcontext.current.items["__currentuser"]). the websiteauthentication based on the form authentication. and I used login controland customized the validation method.No the bloody problem is. I opened two IE windows. and try to log into thewebsite using two separate account (1@1.com and 2@2.com). the login processis successful, but after that, the two IE windows both display theinformation for 1@1.com (instead of one for 1@1.com one for 2@2.com).Is that anything related with web garden..?I think the two IE windows should be two separated requests, so thathttpcontexts for two browsers should be different. am I rite?cheers推荐答案 这篇关于奇怪的网络花园问题...... :(的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!