仍使用这个银行类比,考虑两个客户同时在帐户之间转移资金。
Continuing the bank analogy, consider two customers who transfer funds between accounts at the same time.
例如,考虑这样一种情形,最初的系统开发集中于获取客户帐户。
For example, consider the case where the initial development of a system focuses on getting a customer account.
考虑清单5中的表单,该表单将显示如何存储会话中的用户ID和帐户编号。
Consider the form in Listing 5, which shows how to store a user's id and account number in a session.
应用推荐