[horde] remove session in redis or memcache

Jan Schneider jan at horde.org
Fri Sep 23 11:45:58 UTC 2016


Zitat von Frank Richter <frank.richter at hrz.tu-chemnitz.de>:

> Am 22.09.2016 um 15:39 schrieb Jan Schneider:
>>
>> Zitat von Diego D'Angelo <ddangel0 at rosario.gov.ar>:
>>
>>> Hello, i'm using redis server in sessionhandler, everything is  
>>> working very nice.
>>> I want to know is there a way to remove one session in redis o  
>>> memcache without removing all the sessions.
>>>
>>> i know that if i execute the command "horde-clear-cache", the  
>>> script will remove all the data cached (included sessions).
>>>
>>> if i go to https://www.url/horde/admin/sessions.php i see the list  
>>> of all sessions, how can i delete one of these sessions? is  
>>> posible in redis or memcache ?
>>
>> The API is there, there just no place where it is used (besides  
>> internally from the PHP session module).
>>
>
> I added this functionality to the horde-active-sessions script.  
> Sadly, we need it to kill asession, when an account is abused to  
> send Spam.
> If you're interested, I'll send it to you.

Yes please. Either create a patch and upload it to a feature request  
on bugs.horde.org, or create a pull request on github.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the horde mailing list