web applications - C# if page is closed and page close events -


i writing web forms application in .net framework 4.5. in asp page, there way check , action before closing browser page. example, sign out or call function if user clicked "x (close)" button of tab or browser window. there method handle exit? (i prefer having close reason. user closed or error closed etc.)

there unload event, if implement something before page closed, should on client side since cannot make further changes response stream when unload called. please refer page life cycle details.

jquery unload choice type of controls.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -