1 posts tagged with sessioning.
Displaying 1 through 1 of 1. Subscribe:
Sessioning should be fixed now, I think.
I think I fixed the sessioning. I reworked a lot of code tonight, and tested it, and I think I got it working correctly. Here's what's going on: you come to metafilter for the first time today, it says 3 new links and 24 new comments. You read the site, hitting the index page as many times as you want, and you'll never lose that 3 links and 24 comments status.
then you go away for a few hours, and you come back. it should say "1 new link and 13 new comments" (if that much changed between visits), and it should remain that way until you go away for over 15 minutes.
Now, the only place where this will be screwed up, is when you hit the site within 15 minutes from your last visit. That way, the session won't die and it won't update your last visit time.
I also got rid of the new window thing, and the double arrow things, since you won't lose state if you jump directly into a thread.
Let me know if you find any problems.
then you go away for a few hours, and you come back. it should say "1 new link and 13 new comments" (if that much changed between visits), and it should remain that way until you go away for over 15 minutes.
Now, the only place where this will be screwed up, is when you hit the site within 15 minutes from your last visit. That way, the session won't die and it won't update your last visit time.
I also got rid of the new window thing, and the double arrow things, since you won't lose state if you jump directly into a thread.
Let me know if you find any problems.
Page:
1