Thanks Sergiu Dumitriu for replying. I will explore both the options to see which one suits me better.
On Wed, Dec 21, 2011 at 4:34 PM, Sergiu Dumitriu <ser...@xwiki.com> wrote: > On 12/21/2011 03:19 AM, Vincent Massol wrote: > >> Hi, >> >> On Dec 21, 2011, at 5:16 AM, mohit gupta wrote: >> >> Hi All, >>> >>> Is there any way to configure in xwiki configuration files so thst the >>> session expires automatically after some specified time say >>> 20 minutes in case user does not do any activity in last 20 minutes. I >>> looked in to xwiki.cfg and xwiki.properties file but could not >>> find any such thing.Please let me know if this kind of stuff already >>> exists >>> in xwiki? >>> >> >> See http://www.xwiki.org/xwiki/**bin/view/FAQ/How+can+I+change+** >> the+Session+timeout<http://www.xwiki.org/xwiki/bin/view/FAQ/How+can+I+change+the+Session+timeout> >> > > I'm not sure that answers the right question. That will expire the > application (servlet) session, but it won't logout the user, since the > authentication is done via clientside cookies, not via serverside sessions. > > Mohit, if what you want is to automatically log out users after a given > period of inactivity, then that's not something already supported. It could > be done with some changes in com.xpn.xwiki.user.impl.xwiki.** > MyPersistentLoginManager. > -- > Sergiu Dumitriu > http://purl.org/net/sergiu/ > > ______________________________**_________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users> > _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users