72 hrs sessions autodelete?

We have a user reporting she gets kicked out of epicor multiple times a week and her computer freezes when this happens. The error she sees is your session has been deleted… I have had a session disappear(doesn’t exist in EAC) and Epicor would popup the invalid session error no matter how I tried to close the app until I force closed it via task manager(I think this is the my computer freezes problem she reported).

I understand sessions last 72 hrs then get deleted. Does that mean if a user never logs out/closes epicor every 72 hrs they would get an invalid session error? That is is it 72 hrs of inactivity or does that not matter a session can only live for 72 hrs max?

Hi @embedded ,

I am not sure about the Epicor session lengths to be honest but from a design/development point of view, you would not be in favor of infinite (time-wise) sessions. Mainly from Security point of view and also from resource-consumption point of view.

Btw Epicor takes considerable amount of resources so I am not sure why the user would want to keep it open and not use it for 72 hours…

1 Like

This is a situation where an end user says they have a problem - my machine freezes several times a week and Epicor gives me an error saying my session has been deleted or expired. So my question is more along the line of how do session deletions work as it sounds like this could explain the problem and it’s benign if so. Although, if my understanding is incorrect about sessions getting deleted then I need to keep trying to figure out what is causing the problems for this end user.

From my experience the session only gets deleted if it was inactive for 72 hrs.

Another thing that impacts the sessions (and is not on a frequency of 72 hours) is your IT team :smiley:
If they recycle the application pool, sessions will be impacted.
This might be done for many reasons. A simple server crash/restart due to power outage is one. Network connectivity issue is another one.

Also controlled application recycling for Data Model regeneration is an intentional example for it.
I suggest activating the Tracing on those specific systems and checking their log files if it becomes critical.

1 Like

@Shizar115 thanks so much for this! I hadn’t considered some of these potential explanations thanks for that! The user works remotely so I wonder if a network “glitch”(maybe her internet at home is unreliable?) from time to time could result in a lost session. Thanks I’ll test this out.

We have remote users as well and sometimes they face issues too.
Our setup requires use of VPN to connect user’s PC to our network. Epicor is installed on the remote PC so in between if anything (VPN setup, Network speed/connectivity, …) acts out of norm, user will be impacted.

For the most part since 2020 our challenges have become less gradually and no many things these days. I am also thinking maybe your VPN/network kicks users out on a 72 hour basis. For us that is several hours daily to be honest and we have to log back in if needed to work more :smiley: