Buy Questpond's video subscriptions on
huge discount
.
Online: 4129
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
ASP.NET
>
Loading ...
Keep Track users activity
Posted by
Kpoudyal2010
under
ASP.NET
on 12/30/2011 |
Points: 10
| Views : 4509 | Status :
[Member]
| Replies : 5
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
Guys,
I am working on an Application where we store 1000 of documents, every document has Document_id in Table , and we know our users by their UserID
Now, i want to keep track Who viewed Which items and when user logged in i want to display as your recent activities as a list of documents he/she viewd that week,
Any Suggestion would be appreciated,
Thank you,
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
Sksamantaray
on: 12/30/2011
[Member]
Silver
|
Points: 25
0
you can create a UserActivity Log table where you should have userid,documentid,dateViewed etc.
When user view a document its corresponding procedure is called.
In that procedure you insert a record to UserActivity table.
From this table taking userid , documentid and date you can view the activity taken by user for one or more document for a specific period and how many times a particular document is view etc.
Thanks,
Sanjay
Kpoudyal2010
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Kpoudyal2010
on: 12/30/2011
[Member]
Starter
|
Points: 25
0
Thank you for your suggesstion, If i keep tract all the User Activity everday, i have 1000 users and they view many documents and what will happened the performance of DB in the future if i insert every new row in the table ?
Kpoudyal2010
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Sksamantaray
on: 12/31/2011
[Member]
Silver
|
Points: 25
0
you are keeping only userid,docid and date not huge data so i don't think it will create performance issue.
If you think so then you can maintain a history database and transfer current data say every year or 6month gap.
when you require old data late say date is less than year or 6 month then you can refer to history database to fetch data and view it accordingly
Thanks,
Sanjay
Kpoudyal2010
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Thiru
on: 12/31/2011
[Member]
Starter
|
Points: 25
0
Great Suggestion Mr.Sksamantaray.
Hope this is the way google handling the data by separating old (with histroy db) & new db
Kpoudyal2010
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Kpoudyal2010
on: 12/31/2011
[Member]
Starter
|
Points: 25
0
Do you guys have any sort of code sample or reference site ?
Kpoudyal2010
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
How to get the exact property name while getting error
(0)
PDB file is not showing Line Number in dot net application hosted on server
(0)
Both Strings morethan 5 letters in length end of the words one vowel and one consonent is different
(0)
how to check Any adjacent letters transposed between two strings(ex: JOHN, JHON)
(1)
can't receive data after success login ?
(1)
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
More ...