Share Expiry Mode
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2014 04:10 AM
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 :
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.
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.
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2014 08:43 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2014 08:52 AM
Thank you for the reply , now I change the value of the session timeout
defined in the file <strong> {Alfresco_Home}\tomcat\conf\web.xml </strong>
Best regards,
Sofia.
<session-config> <session-timeout>30</session-timeout> </session-config>
defined in the file <strong> {Alfresco_Home}\tomcat\conf\web.xml </strong>
Best regards,
Sofia.