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
Post a Comment