473,473 Members | 1,573 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Identify Unread Posts in Forum-like Application

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
Dec 1 '05 #1
2 1336
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" <Ci****@discussions.microsoft.com> wrote in message
news:C4**********************************@microsof t.com...
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

Dec 1 '05 #2
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" <Ci****@discussions.microsoft.com> wrote in message
news:C4**********************************@microsof t.com...
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


Dec 1 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Daniel Jahro via DotNetMonster.com | last post by:
Hi! Im trying to pull out the last ten posts in a access dg (*.mdb). Whats the best way to do it? All posts are located in a table named "tblTopic" and the posts automatically get accending...
3
by: John | last post by:
I am not sure if it is the right forum for Regex topic. If not, please point me the right forum. For a given HTML, I need to identify each asp.net server control. I am not an expert in regex, can...
1
by: Kondapanaidu | last post by:
Hi, I am using C#.NET2.0, My Outlook Inbox is having some mails. My system Configured with Outlook, I need to capture the Unread mail subject line. How to capture the subject line from...
2
by: a | last post by:
keep a list of read and unread items hi guys i m building an rss reader and i want you suggestions for datastructure for keeping read and unread list for each use i m assuming it will be very...
1
by: PhilD | last post by:
My C#.NET console app checks a public folder every 24 hours for incoming emails. For each unread email in the folder, it copies any attachments to the network, then loads the contents of these files...
6
by: yossico | last post by:
Hi, I have a question which is related to an old question submitted in this forum but was not fully answered. The original question is at Any way to identify/capture back button event? . ...
0
by: abhamjee | last post by:
I have seen posts on how to identify a Blackberry device and this works well. However, has anyone tried to identify the user? The Blackberry server will know who is currently browsing but can this...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.