Quite simple. If the user has a web page or etc., you can add a special section to the page, refresh it regularly to keep its session alive.
Shi Jinghai -----邮件原件----- 发件人: Skip [mailto:s...@thedevers.org] 发送时间: 2016年2月18日 8:42 收件人: user@ofbiz.apache.org 主题: RE: Howto increase the login / session time for specific machines Thanks so much Gil. I was hoping to adjust it for specific users. However, I did a search for the string in the java code and having not found it, I am guessing that it is not possible. If it is, I would appreciate any hints you may have. I guess that I will write a little java script to ping an address to keep the session active. Skip -----Original Message----- From: gil portenseigne [mailto:gil.portensei...@nereide.fr] Sent: Wednesday, February 17, 2016 10:40 AM To: user@ofbiz.apache.org Subject: Re: Howto increase the login / session time for specific machines Hi, You can configure it into the web.xml file of your webapp For example in partymgr : applications/party/webapp/partymgr/WEB-INF/web.xml <session-config><session-timeout>60</session-timeout><!-- in minutes --></session-config> Regards Gil On 17/02/2016 19:28, Skip wrote: > I have a requirement to increase the amount of time a logged-in-user keeps > their credentials (session and login attributes). > > Can someone point me to the code and properties files that control this? > >