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

sql - text truncated using perl DBI insert -

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

php - Pass object by reference or value -