Surely the same principle applies? Initiate the memory session with an
atom, then write a function to remove sessions from the atom that match
specific criteria.

I should add that the memory session store is really only intended for use
in development environments.

- James

On 23 October 2014 14:56, Sven Richter <[email protected]> wrote:

> Yea, I thought about this too, however, I am not using a database right
> now, but just the in memory session store.
>
> Best Regards,
> Sven
>
> Am Donnerstag, 23. Oktober 2014 15:54:41 UTC+2 schrieb James Reeves:
>>
>> If you're using a database to store your sessions, you can just remove
>> the entry that's associated with a particular user.
>>
>> - James
>>
>> On 23 October 2014 14:45, Sven Richter <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> I wonder if it's possible to invalidate a ring session for a given
>>> arbitrary user (not the logged in one)?
>>> Sometimes, when applying administrative tasks regarding user management
>>> in a web application it might be useful to have the user to relog. Another
>>> posiibility might be to be able to update the session of an user, but I am
>>> not sure if this is considered secure, or how it might be done at all.
>>>
>>> Any pointers / hints on how to approach such issues?
>>>
>>> Best Regards,
>>> Sven
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to [email protected]
>>> Note that posts from new members are moderated - please be patient with
>>> your first post.
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/clojure?hl=en
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to