Howto increase the login / session time for specific machines

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Howto increase the login / session time for specific machines

SkipDever
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?


Reply | Threaded
Open this post in threaded view
|

Re: Howto increase the login / session time for specific machines

Gil Portenseigne
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?
>
>

Reply | Threaded
Open this post in threaded view
|

RE: Howto increase the login / session time for specific machines

SkipDever
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:[hidden email]]
Sent: Wednesday, February 17, 2016 10:40 AM
To: [hidden email]
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?
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Howto increase the login / session time for specific machines

Shi Jinghai-3
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:[hidden email]]
发送时间: 2016年2月18日 8:42
收件人: [hidden email]
主题: 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:[hidden email]]
Sent: Wednesday, February 17, 2016 10:40 AM
To: [hidden email]
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?
>
>