Vallee, When you say session, are you talking about the CAS session or the client session?
Is it possible to have a cookie that expires when the browser closes and lives for a set time? You can use this to have the cookie expire when the browser closes: cas.tgc.maxAge=-1 I have this note in my config (not sure if it applies to 5.2) but our config is set to expire TGC when browser closes: # default is P14D # used to set maxAge on user selection of remember me at login # it is always set regardless of user choice; this is a bug to investigate # file: https://github.com/apereo/cas/blob/5.1.x/support/cas-server-support-cookie/src/main/java/org/apereo/cas/web/support/CookieRetrievingCookieGenerator.java cas.tgc.rememberMeMaxAge=-1 I do not have these in my config: cas.ticket.tgt.timeToKillInSeconds cas.ticket.tgt.maxTimeToLiveInSeconds Ray On Mon, 2018-08-27 at 02:51 -0700, vallee.romain wrote: Hello, We have migrate from 4.2 to 5.2. Our need is simple, but we can't implement it . We put the option "remember me", with a delay of 6 months ( about). But even following the documentation, it is impossible to have a session maintained for more than a few hours by checking the "remember me" box. i try so many configuration... my last configuration is : cas.tgc.rememberMeMaxAge=1209600 cas.ticket.tgt.timeToKillInSeconds=172800 cas.ticket.tgt.maxTimeToLiveInSeconds=1350000 cas.ticket.tgt.timeout.maxTimeToLiveInSeconds=1350000 cas.ticket.tgt.rememberMe.enabled=true cas.ticket.tgt.rememberMe.timeToKillInSeconds=1350000 did anyone manage to make it happen: when you check "remember me" to have a session maintained for XX months when you do not check "remember me" with the session that closes at the end of the browser with a maximum time of XX hours. I'd be very interested! Best regards -- Ray Bon Programmer analyst Development Services, University Systems 2507218831 | CLE 019 | [email protected] -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/1535388778.2864.10.camel%40uvic.ca.
