Live data from Hacker News

Poll: Unknown or expired link on YC

news.ycombinator.com

1–10 of 37 posts

Poll: Unknown or expired link on YC

#1
I'm seeing this a lot more often these days, even when just pressing "More" at the bottom of the main page without being logged in.

It makes me think the current continuation-based session scheme isn't enough to guarantee a good experience.

What do you folks think?

Re: Poll: Unknown or expired link on YC

#7
It usually isn't a big deal, because the fix -go back, copy, refresh the page, paste- is trivial. For a less technical audience, this would be absolutely unacceptable.

Are there elegant solutions to fix this? Could someone link the explanation to how the continuation sessions work, please?

Re: Poll: Unknown or expired link on YC

#8
post #3

I usually only get it if I have a comment reply open for a long time before clicking add. Feels like the continuation lasts for about 20 minutes.

Pretty sure that's what pg's said it is. Personally, that's way too short, as I'll leave threads open for half a day without reading it, then can't comment.

I don't see any fundamental reason why continuations have to expire so fast.

Re: Poll: Unknown or expired link on YC

#9
post #7

It usually isn't a big deal, because the fix -go back, copy, refresh the page, paste- is trivial. For a less technical audience, this would be absolutely unacceptable. Are there elegant solutions to fix this? Could someone link the explanation to how the continuation sessions work, please?

It's pretty similar to other session-based systems. Users get an id that they resubmit at some point to the server, and the server pulls the data associated with that id. In the case of Arc, that data is a closure (basically, a function and its bound variables).

Re: Poll: Unknown or expired link on YC

#10
post #8
post #3

I usually only get it if I have a comment reply open for a long time before clicking add. Feels like the continuation lasts for about 20 minutes.

Pretty sure that's what pg's said it is. Personally, that's way too short, as I'll leave threads open for half a day without reading it, then can't comment. I don't see any fundamental reason why continuations have to expire so fast.

Because they take up ram on the server. 20 minutes is standard session timeout for most session based web frameworks.
Post reply on HN