I use ASP.net Web Forms and C#.
I have a page A with a method X.
I need call the method X when a User from page A visit any other pages outside A or log-out from my Web Application.
My questions:
- What is the right event to use?
- How to implement it?
Please provide me an example of code.
Thanks for your help!