Hi
I'm saving each user "Refreshtime" on xml file while based on mouse,keypress event calling Handler, So if more than users try to save xml file i'm getting error like this"c# xml the process cannot access the file because it is being used by another process"
public void ProcessRequest(HttpContext context)
{
a.TimeSpan(UserId, UserName);
dt = DateTime.Now.ToLocalTime().ToString();
XmlName = System.Configuration.ConfigurationManager.AppSettings["XMLPath"].ToString();
context.Response.ContentType = "text/plain";
context.Response.Write("Hello World");
context.Session["KeepSessionAlive"] = dt;
RefreshSessionTime(UserId, UserName, XmlName);
}
private void RefreshSessionTime(string UserId, string UserName, string XmlName)
...
Go to the complete details ...