tracking the user in asp.net using sql server

Posted by Dn2010 under ASP.NET on 1/1/2011 | Points: 10 | Views : 2576 | Status : [Member] | Replies : 4
hi friends,

how to tracking the user in asp.net using sql server.
please give in detail.

thanks.




Responses

Posted by: Raja on: 1/1/2011 [Member] Starter | Points: 25

Up
0
Down
If you know ASP.NET and SQL Server, its should not be any problem. The database structure mainly depends on what you want to track. If you simply want to track number of visitors then I would suggest go for Google Analytics (free).

If not, create a table with count as field name (int type), set its value default as 0.

On Session_Start in global.aspx open the database connection and increment the count by 1. This will add one to the existing number and this increment will happen for every new user visiting your website (irrespective of how many times a visitors visit).

Hope this will give some idea!

Thanks

Regards,
Raja, USA

Dn2010, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Dn2010 on: 1/1/2011 [Member] Starter | Points: 25

Up
0
Down
thanks in advance,

please give the sample application for that.

thanks.

Dn2010, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 1/5/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi,

You can use Http watch professional to track the users and see how its loading...

Thanks
Karthik
www.f5Debug.net

Dn2010, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bhaskara on: 5/5/2011 [Member] Starter | Points: 25

Up
0
Down
You can refer to the link, you can get all the tracking mechanism
http://dotnetslackers.com/articles/aspnet/Tracking-User-Activity.aspx

Bhaskara

Dn2010, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response