asp classic - Session Timeout: Can I Perform Any Actions on Timeout? -


in classic asp application, if set session.timeout = 10 (or similar), can execute piece of code when session expires?

i clear out values stored in application object when user session ends.

yes, can execute code when session ends. global.asa for. in it, can define actions events, among when session ends.

these events can use:

  • application_onstart
  • session_onstart
  • session_onend
  • application_onend

you'll want use session_onend. name of sub in global.asa.

source, , more information: http://www.w3schools.com/asp/asp_globalasa.asp


Comments

Popular posts from this blog

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c# - Making TableLayoutPanel Act Like An HTML Table (Cells That Resize Automatically Around Text) -