-1

I am working on an asp.net application, all is going well so far except multiple users. I have created a login system based in SQL Server. The process is as follows... User provides username and password. These are verified via sql server. if verified they are stored in a forms authorization ticket. This ticket is used to then provide additional data on the users application page once logged in. The problem is that it would seem there can only be one of these at a time in the application? If one user (call him "Joe") logs in and starts working, then another user (call him "Frank") on another computer logs in and starts working, the next databind on "Joe's" computer binds "Frank's" data. Where am I going wrong? Any good reading or suggestions on the matter?

4

1 回答 1

0

确保存储应用程序数据的类不是静态的。随后,任何字段都不应该是静态的。

于 2015-08-12T18:06:35.160 回答