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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Don't Interrupt Actions When Users Login

10 点作者 jaycee超过 16 年前

2 条评论

mhartl超过 16 年前
This is obvious but bears repeating. I still silently curse every site that makes this mistake.<p>I've done my part to fix it, by the way. Here's the introduction to Section 6.5 in my book <i>RailsSpace</i>:<p>6.5 Friendly URL forwarding<p>There’s one final flourish we’d like to add to our basic login functionality. One of our pet peeves is when we go to the front page of a site, click on a link for a protected page, are prompted to log in, and then get forwarded back to the front page rather than to the protected page we originally requested. This is lame, lame, lame. Obviously, the site should remember the protected page we requested and then forward us <i>there</i> after logging in. Let’s implement (and test) this feature, which we call “friendly forwarding.”
评论 #310263 未加载
ld50超过 16 年前
that should be a no-brainer... shame on you flickr and your lazy product team