Re: [xwiki-users] XwikiConfiguration to expire the session automattically after any specified time say 15 minutes

2011-12-21 Thread mohit gupta
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  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
>>
>
> 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
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XwikiConfiguration to expire the session automattically after any specified time say 15 minutes

2011-12-21 Thread mohit gupta
Thanks Vincent for redirecting to right direction

On Wed, Dec 21, 2011 at 1:49 PM, 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
>
> Thanks
> -Vincent
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XwikiConfiguration to expire the session automattically after any specified time say 15 minutes

2011-12-21 Thread Sergiu Dumitriu

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


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


Re: [xwiki-users] XwikiConfiguration to expire the session automattically after any specified time say 15 minutes

2011-12-21 Thread Vincent Massol
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

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users