web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Keeping Enterprise Portal session alive

(0) ShareShare
ReportReport
Posted on by

Hi,

I have worked on an enhancement in AX 2012 Enterprise Portal in which user fills a lengthy form. This process of filling the form sometimes takes much time. I have set the session time out to 10 minutes but still users somehow manage to expire the session quite often.

How can we keep the session alive using some dummy AJAX call at the back-end after a repeated interval?

For example in ASP.NET MVC we can use the following code:

function setHeartbeat() {
    setTimeout("heartbeat()", 300000); // every 5 min
}

function heartbeat() {
    $.get(
        "/SessionHeartbeat.ashx",
        null,
        function(data) {
            //$("#heartbeat").show().fadeOut(1000); // just a little "red flash" in the corner :)
            setHeartbeat();
        },
        "json"
    );
}


How can we do the same in Enterprise Portal?

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    It think your approach is not correct. There is a session timeout and a request timeout defined in seconds. Which one did you try to increase?

    Have a look at the following links:

    technet.microsoft.com/.../jj677308.aspx

    philippsen.wordpress.com/.../handling-timeout-issues-on-the-enterprise-portal

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans