I want to update multiple servicestack user sessions that are stored in redis. I want to return all sessions that have a custom property set to a certain value, then I can process them. At the moment the best solution I have returns all keys as such:
List<string> sessionkeys = redis.SearchKeys("urn:iauthsession:*");
I am thinking this will not scale well. I'd like to do something analogous to:
List<string> sessionkeys = redis.AllKeys.Where(x=>x.ParentId == 3);
Is this possible with redis, and if so how, ideally using standard libraries with ServiceStack.