如何处理ASP.NET中用户的多个同时请求 [英] how to Handle multiple simultaneous requests from a user in ASP.NET

查看:347
本文介绍了如何处理ASP.NET中用户的多个同时请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我有一个问题,我创建了一个asp.net应用程序,当多个用户与单个页面交互时(例如用户个人资料),当任何一个用户(A)想通过单击编辑按钮更改我们的个人资料时比texboxes出现编辑模式但是时间值取其他用户(B),用户B也在线那个时候,PLZ给我解决方法如何解决这个问题.............



i am绑定数据if(IsPostBack == false){



}

hello everyone ,i have a problem,i have created a asp.net application ,when more than one user interact with single page (for example user profile) when any one user (A) want change our profile by clicking edit button than texboxes appeared edit mode but that time value fetch other user (B),user B also online that time ,plz give me solution how to solve this problem .............

i am binding data within if (IsPostBack == false){

}

推荐答案

检查此链接。它在MVC中但试图理解这个概念。



http://www.asp.net/mvc/tutorials/ get-started-with-ef-5-using-mvc-4 / handling-concurrency-with-the-entity-framework-in-an-asp-mvc-application [ ^ ]
Check this link. Its in MVC but try to understand the concept.

http://www.asp.net/mvc/tutorials/getting-started-with-ef-5-using-mvc-4/handling-concurrency-with-the-entity-framework-in-an-asp-net-mvc-application[^]


这篇关于如何处理ASP.NET中用户的多个同时请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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