c# - Check weather the page is out of focus asp.net -


i trying build online exam project. once student login exam page in fullscreen mode. want know if student presses shortcut keys alt+ctr+del or alt+d etc. ever may be. want know possible find out if current page out of focus ? can end session @ time. please me this.

if(string.compare(request.url.localpath,"mypage.aspx")==0)  //    maek session null whatever want } 

this can done in master page


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -