Reputation: 2455
I use redis to store the users information.
i set many use's info under the key "user",like this:
"hset user userid1234 {...}".
how to make the key "userid1234" in the user expires in some seconds later?
there is some commands like "expire" which can only set the timeout of user but i dont want all in it expires.
is there some solutions?
Upvotes: 4
Views: 5771