Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Actually in my web project i am using logger concept to save user operations. it is working but my where i am facing the problem is when a user-A is loggedin means it is saving properly his operations in database but at the same time when another user-B is logged in means it is overlaping the information by saving User-B with User-A Details in database. is there any solution


C#
GlobalDiagnosticsContext.Set("PageViewed", "mInbox Page");
                GlobalDiagnosticsContext.Set("PageType", "Mob");
                GlobalDiagnosticsContext.Set("TimeStamp", DateTime.Now.ToString());
                GlobalDiagnosticsContext.Set("UserId", Session["UserID"].ToString());
                logger.Info("*** mInbox Page ***");
Posted
Updated 21-Apr-14 1:14am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900