cancel
Showing results for 
Search instead for 
Did you mean: 

Share Expiry Mode

sofia
Champ in-the-making
Champ in-the-making
Hello ,

I need not expiring sessions in Alfresco Share , the only solution I have found was to put in <strong>  alfresco-global.properties </strong>  this  :

 authentication.ticket.ticketsExpire=false ‍


Tickets are supposed to live forever in this case.  But after a duration of inactivity, I was asked to enter my username and password again. 

What should I do exactly ?

Regards,
Sofia.
2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator
Hello,

tickets may live forever, but your HTTP session with Share may still timeout and the authentication ticket cached by Share is then lost (but still valid in the Repository).
For Share, you actually do not ned to use ticketsExpire, since Share will automatically get a new ticket when the old one has expired but your Share HTTP session is still valid. You only have to change the session expiration in the Share Tomcat or Share web application configuration. See http://www.baeldung.com/servlet-session-timeout for some info on how to do this.
Please do not set too high an expiration time as higher expiration times will usually lead to more sessions being alive and clogging up part of the runtime memory.

Regards
Axel

sofia
Champ in-the-making
Champ in-the-making
Thank you for the reply , now I change the value of the session timeout
<session-config>        <session-timeout>30</session-timeout>    </session-config>‍‍‍‍‍

defined in the file <strong> {Alfresco_Home}\tomcat\conf\web.xml </strong>

Best regards,
Sofia.
Welcome to the new Hyland Connect. Get started or submit feedback.