如何以及在何处添加可以在ASP.NET c#中的Web应用程序中自动运行的方法。 [英] How and where to add a method which can run automatically in web application in ASP.NET c#.

查看:87
本文介绍了如何以及在何处添加可以在ASP.NET c#中的Web应用程序中自动运行的方法。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我在ASP.NET C#中有一个Web应用程序。



I我正在为考试中心创建这个应用程序。



其中我有会话,一旦会议日期&时间超过,它应该自动更新其状态为已过期...



我尝试过:



任何人都可以帮助我,



如何以及在何处添加此类方法,可根据日期和时间自动运行检查

时间。



我必须使用定时器控制吗?



请帮助/建议我。





谢谢

Hi guys,

I have an web application in ASP.NET C#.

I'm creating this application for exam center.

In which i have Sessions, once the session Date & time exceeds, it should automatically update its status as 'Expired'...

What I have tried:

Can any one please help me,

how and where to add such method which can run automatically checking based on Date &
time.

Do i have to use timer control for that?

Please help/suggest me.


Thanks

推荐答案

我认为这篇文章应该涵盖它:



JavaScript显示会话超时计数器 [ ^ ]
I think this article should cover it:

JavaScript to Show Session Timeout Counter[^]


这篇关于如何以及在何处添加可以在ASP.NET c#中的Web应用程序中自动运行的方法。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆