Skip to content

detect user actions #1129

Closed
Closed

Description

@itg-assistant

Ray asked 2017-09-27 16:11:00 UTC

I have a timer running on the server to do something after a period of inactivity, but I need to reset it whenever the user does something inside the form in the browser (like a button click).

Any suggestions on how to accomplish this without having to do it inside every single possible user event on the form's controls?

Thanks

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2017-09-27 16:26:08 UTC

    Subscribe to Application.BeginRequest in Form.Load and remember to unsubscribe in Form.Disposed since it's static event and will hold on the reference preventing GC.
    You may also handle Application.SessionTimeout instead. It will fire after a period of inactivity and before the session is actually teminated. If you set e.Handled = true Wisej will not show the built-in form and you can show your own.

  2. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Orel Gabay answered 2017-10-01 09:03:22 UTC

    Hi Luca ! Joins the question of Ray.
    Can you attache a little sample please ? it will be great !
    Thanks.
    Orel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions