有2个程序A和B,都使用redis来存储session。如果A先启动,再启动B,B会提示无法反序列化,找不到A的某个类。
有没什么大神解释解释?
学习是最好的投资!
The two programs should distinguish the keys used to store sessions, such as adding a different prefix a_ or b_, etc.
You should have distinguished between A or B, right?
The sessions of different programs are placed in different libraries. For example, if A is placed in select(1), then B is placed in select(2). This way you can differentiate
The two programs should distinguish the keys used to store sessions, such as adding a different prefix a_ or b_, etc.
You should have distinguished between A or B, right?
The sessions of different programs are placed in different libraries. For example, if A is placed in select(1), then B is placed in select(2). This way you can differentiate