Print Page | Close Window

Cookie Problems - Regarding New Posts

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=12479
Printed Date: 11 April 2026 at 1:21pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Cookie Problems - Regarding New Posts
Posted By: NathanMc
Subject: Cookie Problems - Regarding New Posts
Date Posted: 09 November 2004 at 1:53am
Hi Guys,

I am a new WWF board owner, and am generally quite impressed.

There is an issue that I and a few of my users are experiencing with the "new unread topic" notification. I have not been able to find anything on this in any of the threads here.

It appears to be working sporadically across a session - my own experiences include:
  1. The forum index will not update when all of the contained threads have been read.
  2. If a new post is made during a session, a new post indicator will light up at the forum index link level, but the new posts will not be highlighted at the forum level.
  3. This is more of a mod request / enwuiry I suspect, however my users (all fresh form phpBB where this is standard) have enquired into a "Mark forum read" link. At the moment it would appear that this is possible only as a serverwide option.
Thank you very much for producing such a quality product, and for any assistance possible with this! I have some additional questions and things to raise, but I'll keep them one issue to a topic, and will try to avoid spamming you all :)



Replies:
Posted By: WebWiz-Bruce
Date Posted: 09 November 2004 at 3:46am
The icon on the main forum page shows if the forum contains unread topics since your last visit.

This is not updated as this would be a big performance hit slowing down the whole forum as you would eirther have to hold the ID of each topic a user looks at in the database or a cookie, both of which would be a big performance hit.

You would then each time you look at the main forum page have to do quite an intensive database hit for each forum checking the dates since last login, each of the topics read since then, etc. to see if any of the topics do still remain unread.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: NathanMc
Date Posted: 09 November 2004 at 7:29pm
Well, I did it, and I don't think there were the performance tradeoffs you mentioned. A simple, elegant solution is usually viable :)

The forum already tracks what individual threads have been read in a forum through the session.  It was a simple enough matter to modify the session code to allow for individual forum session dtm values to be tracked.

If there is interest I can provide detail of the mod, just need to add a link to the forum pages now to allow for a "Mark all threads read" by forum.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net