Identify Unread Posts in Forum-like Application

Discussion in 'ASP .Net' started by =?Utf-8?B?Q2luY2lu?=, Dec 1, 2005.

  1. We were building this forum application and we stumble on how to identify
    unread post.
    One thing would be to keep in the database what an user have seen but it
    doesn't seem doable because of the possible large number of users/posts and
    also anonymous users.
    Do you have an idea on how this can be done, what options do I have to do
    this?

    Thanks
    =?Utf-8?B?Q2luY2lu?=, Dec 1, 2005
    #1
    1. Advertising

  2. Whether a document is read or not is user-specific. That is, each user will
    have read or not any number of documents. Therefore, the data pertaining to
    what documents are read or not must be maintained and stored persistently
    (over a period of several days to who knows how long) in a user-specific
    manner. In a web application, you have several options for this. One is to
    use cookies. Cookies are fairly reliable, and their expiration can be
    controlled, but they can only store a limited amount of data. Depending on
    how much data you need to store, this may or may not be a viable solution.

    Another is to use a server database. A server database can store a lot of
    data, and you can also control expiration in it, programmatically. You would
    still need to use cookies if the users are logging on anonymously, or use a
    login procedure to view your forums, which could link up the user to their
    server-side data store.

    The third solution is to create some kind of downloadable component, such as
    an ActiveX Control, which creates a client-side application for using the
    forums. This application could maintain a client-side database with any
    user-specific information you want in it. The drawback to this is that your
    users may not want to install it, may not trust it, or may not use the same
    computer when logging on.

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    If you push something hard enough,
    it will fall over.
    - Fudd's First Law of Opposition

    "Cincin" <> wrote in message
    news:...
    > We were building this forum application and we stumble on how to identify
    > unread post.
    > One thing would be to keep in the database what an user have seen but it
    > doesn't seem doable because of the possible large number of users/posts
    > and
    > also anonymous users.
    > Do you have an idea on how this can be done, what options do I have to do
    > this?
    >
    > Thanks
    Kevin Spencer, Dec 1, 2005
    #2
    1. Advertising

  3. Thanks Kevin,

    We'll go with the database solution and impose the expiration. This should
    solve the always growing table problem.

    Cincin

    "Kevin Spencer" wrote:

    > Whether a document is read or not is user-specific. That is, each user will
    > have read or not any number of documents. Therefore, the data pertaining to
    > what documents are read or not must be maintained and stored persistently
    > (over a period of several days to who knows how long) in a user-specific
    > manner. In a web application, you have several options for this. One is to
    > use cookies. Cookies are fairly reliable, and their expiration can be
    > controlled, but they can only store a limited amount of data. Depending on
    > how much data you need to store, this may or may not be a viable solution.
    >
    > Another is to use a server database. A server database can store a lot of
    > data, and you can also control expiration in it, programmatically. You would
    > still need to use cookies if the users are logging on anonymously, or use a
    > login procedure to view your forums, which could link up the user to their
    > server-side data store.
    >
    > The third solution is to create some kind of downloadable component, such as
    > an ActiveX Control, which creates a client-side application for using the
    > forums. This application could maintain a client-side database with any
    > user-specific information you want in it. The drawback to this is that your
    > users may not want to install it, may not trust it, or may not use the same
    > computer when logging on.
    >
    > --
    > HTH,
    >
    > Kevin Spencer
    > Microsoft MVP
    > ..Net Developer
    > If you push something hard enough,
    > it will fall over.
    > - Fudd's First Law of Opposition
    >
    > "Cincin" <> wrote in message
    > news:...
    > > We were building this forum application and we stumble on how to identify
    > > unread post.
    > > One thing would be to keep in the database what an user have seen but it
    > > doesn't seem doable because of the possible large number of users/posts
    > > and
    > > also anonymous users.
    > > Do you have an idea on how this can be done, what options do I have to do
    > > this?
    > >
    > > Thanks

    >
    >
    >
    =?Utf-8?B?Q2luY2lu?=, Dec 1, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Daniel Jahro via DotNetMonster.com

    Pulling out 10 last posts in forum (access db)

    Daniel Jahro via DotNetMonster.com, Feb 3, 2005, in forum: ASP .Net
    Replies:
    7
    Views:
    383
    Patrick Olurotimi Ige
    Feb 4, 2005
  2. Tony Morris
    Replies:
    0
    Views:
    409
    Tony Morris
    Mar 12, 2005
  3. Leif K-Brooks
    Replies:
    7
    Views:
    491
    Owen Jacobson
    Aug 2, 2004
  4. a
    Replies:
    2
    Views:
    393
    Stargaming
    Aug 13, 2006
  5. Big George

    Decreased number of posts on this forum

    Big George, Jan 16, 2013, in forum: ASP .Net
    Replies:
    3
    Views:
    622
    Arne Vajhøj
    Jan 17, 2013
Loading...

Share This Page