Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3438424
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:11:10+00:00 2026-05-18T08:11:10+00:00

I need to capture an ASP.NET Session Tiemout in a GeneXus X application generated

  • 0

I need to capture an ASP.NET Session Tiemout in a GeneXus X application generated in C#. When a user stay away from keyboard more than N minutes, I would like to request User/password once again without loosing data’s changes in webform

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T08:11:11+00:00Added an answer on May 18, 2026 at 8:11 am

    You should consider just extending the session timeout in the server, that way you wont need to solve the problem in the first place.

    If that’s not an option you could make a user control that checks periodically if the session is active via ajax, example with JQuery (not tested):

    $(function() {
        setInterval(CheckSession, 10000); /*10 seconds*/
    });
    
    function CheckSession() {
        $.get("/CheckSession.aspx", function(data) {
            $("body").append("<p>" + data + "<p/>"); /*shows current user*/
            if(data = "")
               $("#loginform").fadein(200);
        });
    } 
    

    Where the CheckSession is a main/http proc that does something like

    &httprespone.addstring(&websession.get('userid'))
    

    And in the case that it is not, disable the screen buttons and somehow show the login form:

    I’ve never tried this, but it seems possible.

    An alternative would be to attach the session checking code to the submit button, should be simple enough in any javascript framework.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to capture the input stream from a microphone in my application, which
I need to capture the 'Update' click event with jQuery in an asp.net GridView
Need assistance please. (More confused than anything really) I've got ASP.NET mvc controller [AcceptVerbs(HttpVerbs.Post)]
I need to record a user's name that is using an ASP.NET web service.
I need to capture the amount of time that ASP.net takes to execute each
I need to capture user's X.509 certificates from their cards and map to a
I need to log unique user sessions in Webmatrix / Razor / ASP.NET Web
Some time ago I created an application to dynamically capture data from an asp
I need to capture signature from Ruby on Rails application and store it as
I have been tasked to look after an ASP.Net WebForms application that communicates with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.