Spring Boot 和 Tomcat 处理用户

huangapple 未分类评论48阅读模式
英文:

Spring boot and Tomcat handling users

问题

所以我正在使用Java Spring Boot和Tomcat构建一个Web应用程序,我遇到了一个问题,即如何让多个用户同时在此Web应用程序上拥有各自的账户。我目前遇到的问题是,一旦我用第二个账户登录后,使用第一个账户的设备也变成了第二个账户。因此,最终两个设备都有了第二个账户... 是否需要采取特殊措施使其正常工作?我对所有这些都相当新。

英文:

So I am building a web app with java spring boot, and tomcat, and I am stuck trying to figure out how to have multiple users, with their separate accounts on this web app at the same time. My current problem is that once I am logged in with the second account, device with the first account becomes second account. So at the end, both devices have a second account on them.... is there anything special I need to do in order for this to work? I am pretty new to all this.

huangapple
  • 本文由 发表于 2020年5月29日 21:52:45
  • 转载请务必保留本文链接:https://java.coder-hub.com/62087565.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定