c# - Page Life Cycle - Call a Method when a user visit another page or log-out -


i use asp.net web forms , c#.

i have page method x.

i need call method x when user page visit other pages outside or log-out web application.

my questions:

  • what right event use?
  • how implement it?

please provide me example of code.

thanks help!

almost definition, not event on website. event on browser, however. jquery/javascript way go:

detect when user leaves website


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -