your server has to be stateless. but it has a state. either you use redis and have your state over there or change your application logic.