Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个 Angular 2 项目,但现在我必须从 IP.Suite 获取当前登录的用户(如果用户在那里登录)并获取他的 ID 等变量。
我尝试在他们的论坛上提问,但没有人回答。我首先想到的是获取 cookie,但它被标记为 HttpOnly。现在,如果我向 PHP 脚本发出 http 请求并从那里获取会话变量,它会正常工作吗?如果是这样,怎么做?
提前致谢。