Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - help needed
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

help needed

 Post Reply Post Reply
Author
codeguru View Drop Down
Newbie
Newbie


Joined: 23 August 2007
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote codeguru Quote  Post ReplyReply Direct Link To This Post Topic: help needed
    Posted: 23 August 2007 at 10:52am
I'm making a forum-like program, and I'm having difficulty designing a particular feature. I want it to store if a user has viewed a particular post or not. I'm not sure exactly how to go about this. What do you think would be the best approach?
Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2007 at 12:16pm
The most efficient way is to store the date/time that the user last visited, and then assume that all posts since that date haven't been viewed, and posts preceding that date have been viewed.
If you don't want to assume that then you would just need a big lookup table.
Back to Top
codeguru View Drop Down
Newbie
Newbie


Joined: 23 August 2007
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote codeguru Quote  Post ReplyReply Direct Link To This Post Posted: 08 September 2007 at 11:56am
Thanks for the advice...
Back to Top
Dilipv View Drop Down
Newbie
Newbie
Avatar

Joined: 11 February 2008
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dilipv Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2008 at 9:33am
hi there,

   i would like to suggest to make use of hitcount server. that will also probably help you to track the record.

Thank you
jitesh
Programmer

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.