TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What should be the response for a second keep me signed in kicked in?

1 点作者 dcao将近 12 年前
The Keep Me Signed In feature is very useful and friendly, especially when users go to your website at home pc. It&#x27;s all about trust with a little risk, and usually implemented using encrypted cookie.<p>Say when one user has turn this sign on in his account on one PC, somehow there is a second user also want to turn it on. Which way do you prefer to go?<p><pre><code> 1. Do you allow the second user to have his own cookie? How? 2. Simply reject the second user? 3. Simply turn off the first user&#x27;s automatic login since the PC is shared? </code></pre> If the second user opens the browser, he may be already automatically signed in the first user&#x27;s account.<p>One possible condition is: both of accounts are belong to the same user, and he would like to use the second one as default auto-login, but does not want to turn it off from the first account. This scenario is rare, but inclined to choose the 3rd way.<p>How do you think?

暂无评论

暂无评论