."/> <."/> <"/>
سلام. در خط 30 متغیری که از نوع object بعد از حذف سشن ایجاده کرده ایم چه کاربردی میتونه داشته باشه؟
با تشکر
<%@ Application Language="C#" %><script runat="server">
void Application_Start(object sender, EventArgs e)
{
Application.Lock();
Application["OnLineUserCount"] = 0;
Application.UnLock();
}void Session_Start(object sender, EventArgs e)
{
Application.Lock();
Application["OnLineUserCount"] = Convert.ToInt64(Application["OnLineUserCount"]) + 1;
Application.UnLock();
}void Session_End(object sender, EventArgs e)
{
Application.Lock();
Application["OnLineUserCount"] = Convert.ToInt64(Application["OnLineUserCount"]) - 1;
Application.UnLock();object objUserId = Session["UserId"];
}void Application_End(object sender, EventArgs e)
{
if (Server != null)
{}
}void Application_Error(object sender, EventArgs e)
{
// Code that runs when an unhandled error occurs}
</script>
- - , .
برچسب:
نویسنده: محمد رضا جوادیان