hello experts
i have created a online quiz web application using asp.net and c# and here i am using ajax timer control and
when i am running my application on localhost timer works fine but when i host my application on a hosting
provider and open the quiz page the timer control is not working correctly means timer becomes very slow
i am using 00:00:00 format of time and set timer interval to 1000
and on timer click event use the code
Session["time"] = Convert.ToInt16(Session["time"]) - 1;
if (Convert.ToInt16(Session["time"]) <= 0)
{
time.Text = "TimeOut!";
this.Title = "TimeOut!";
// insert_result();
Response.Redirect("summery.aspx");
}
else
{
totalSeconds = Convert.ToInt16(Session["time"]);
hours = totalSeconds / 3600;
minutes = (totalSeconds / 60) - (hours * 60);
seconds = (totalSeconds) - (hours * 3600) - (minutes * 6 ...
Go to the complete details ...