Tacking Number Of Users Logged In Over A Time Period - Database Design?

Nov 12, 2010

In our application, we store the most number of users online. We do this by tracking what page each user is on currently and upon login, delete users who have been inactive for X minutes and then take a count of the users online, overwriting the most number online if this is higher.

How can we change this to track the number of users online over a time period, so we can look at a line graph of the number of users online. I guess we'll need a cron to run every 1/2/5/10/20/30/60 minutes to track the number online? Then how would be store this data, the table would get very large. I would think the likes of Statcounter/Analytics would have a better way of storing this data.

View 3 Replies


Similar Messages:

State Management :: Expire The Session After Certain Period Of Time Which Has Been Created Once The Customer Logged In To The Page?

Feb 2, 2011

i want to know how expire the session after certain period of time which has been created once the customer logged in to the page

View 3 Replies

Web Forms :: Number Of Logged In Users In A Website?

Mar 1, 2011

I developed a website in asp.net,c# and SQL server2000. In each and every page I want to show the logged in users name with green color text.

I used Forms authentication.

View 4 Replies

Web Forms :: Display Number Of Currently Logged In Users Of Website?

May 7, 2015

I want to know what the members who are online at my site and I can identify them.Do you have an article that identifies registered online users like your site.

View 1 Replies

Web Forms :: Find Number Of Logged In Users In Website?

Jan 24, 2016

I want to know hom many users that uses may website (they logged in in current time) 

or how many active seesions are in my site in asp.net using C# ?

View 1 Replies

Security :: Keep The Pages From Time Out When Users Are Logged In?

Mar 6, 2011

How do I keep the pages from time out when users are logged in?

View 3 Replies

Database Design For Limited Number Of Choices In MVC And Entity Framework?

Mar 1, 2011

If I want to be able to have a table Consultant, which is the user and their personal information, and I want this user to be able to select their proficiency in a number of Programs (software) on a scale from 0-5 (zero being no experience whatsoever), how do I do this best?

I mean I could have a Consultant table with a one-to-many relationship to a Program table, and then have all the limited Programs availalbe loaded by an XML file or something, and for each Consultant associate all the Programs and their Levels of proficiency. But that seems very wrong and inefficient.

It seems to me I should have a table with all the (limited number of) Programs, and then by some sort of association between the two by Ids. But I can't get my head around how to do this. I'm thinking many-to-many... But first, is this correct? Secondly, how do I do this in an Entity Framework Model? I usually create my database code first, i.e. create the EF model, and then generate database from model. Will I get a junction table where I can add the Level field, because basically a Consultant HAS A Program with a Level, or actually a list of Programs each with a Level.

View 1 Replies

Determining The Number Of Days Between A Period?

Jul 21, 2010

dear all. First and foremost the format of my dates are as follows (MM/DD/YYYY)

I have date 1 as 02/01/2007

I have date 2 as 02/07/2009

I would like to determine the number of days between those dates.

View 7 Replies

How To Publish A News After In Given Time Period

May 23, 2010

I have problem in publishing news.My module is about news.I want to develop function as publishing news in given time period,such as 1 hour or 2 two hour later it will automatically be taken up,i don't want to put it in web immediatelly.

View 6 Replies

Redirect After A Specific Period Of Time?

Feb 2, 2011

I want to redirect users when they reach a page in my web project. I want this to happen in page load after say 2 seconds.

I'm using this code on page load:

[Code]....

With this code, as soon as the page loads it redirects to that page. There are some text in this page that i want the user to see while the page is redirecting. What are my options? Should i use Timer? and tell it to redirect after two or three ticks?

View 3 Replies

C# - Stopping Timer After A Certain Time Period?

Dec 29, 2010

I have a timer on a page in ASP.NET.

After a certain period of time elapses, I want to disable the timer.

View 1 Replies

Why Rad Controls Design Is Not Visible At Design Time In Solution

Feb 27, 2011

I installed Rad Controls. Using that controls, I designed my application pages. At design time, the design is not visible. It shows the following error:

RadTabStrip1Failed to create designer 'Telerik.Web.UI.RadTabStrip, Telerik.Web.UI, Version=2010.1.415.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4'

View 2 Replies

Web Forms :: Specific Control Refresh After A Specified Time Period?

Jun 1, 2010

I want that a specific asp.net control get refresh within a specified time period like there is datalist and i want that its content will be change after 10 sec.

View 4 Replies

C# - Run One Method 1000 Times In A Short Period Of Time?

May 28, 2010

Let's say we are building some public service that grabs the setup of a user (what server, user and pwd he wants to perform the call), logs in into that server and do some processing...

the process takes about 15 seconds to complete each user has a different setup (server/user/pwd), so the process needs to run against each one

if 1000 users tells the system to run the method at 1:00PM

How can I insure that the method is processed in the next 15 minutes?

What should be the correct approach to this little problem?

I'm thinking that I need to do something Asynchronously, and parallel processing could speed up things, maybe throttling the processes, maybe execute 100 calls per each 30 seconds?

I never did something like this and would love to get your feedback on ideas and future problems just to spend 100 hours of work and realize that I took a wrong road

View 2 Replies

Web Forms :: Automatically Disable A Button After Certain Time Period?

Aug 3, 2010

I have a requirement of automatically disabling a Button (Submit Button) after certain period of time, say 5 mins. How can we achieve this. I use C# and Framework 2.

View 6 Replies

Web Forms :: Disable (Expire) Link After Some Period Of Time

Nov 8, 2012

In my project I have the requirement as follows.sending a mail to registered users with sign in link details.After a certain period of time elapses, the signin link should not work when user clicks on it. 

View 1 Replies

Installation :: Web Page Slow To Start After A Short Period Of Time

Feb 5, 2011

My web site seems to be running quick. I have not deployed my web site yet, so I am the only one using it right now. The problem I have is if I am testing out the site and then I stop using it for a short period of time, when I come back the web site takes about 8-10 seconds to startup again. I did not rebuild the site I just simply stopped using it for a short period of time. It seems like after a short period of time I have to 'wake it up' again. Is this normal? How can I prevent this?

View 2 Replies

C# - The Number Of Users Online And Number Of Active Session?

Mar 12, 2011

My environment is ASP.Net + IIS 7.0 + Windows Server 2008 + .Net 3.5. I am wondering whether the number of users online and number of active session are the same thing? The other question is, no matter whether they are the same, how to calculate them (i.e. for a given time, what is the number of users online, and related active number of sessions)?

View 1 Replies

Security :: How To Display Users And Number Of Users Online

Oct 12, 2010

We have implemented the ASP membership and roles..and we would like to display the users currently logged in and also display the number of users online so we can display that on the page. The list of users woudl only be available to our admins. BUt the number of users will show for everyone.

View 9 Replies

Web Forms :: Execute Method Or Event Automatically After Certain Period Or Time Interval?

Jul 29, 2012

I have Website Application , in which i have method ..i want to execute this after every 10 days  automaticlally ..what is the concept of doing this , provice some code etc. if possible ..

my method includes some server side processing..

View 1 Replies

How To Protect The DLL / Applying Time Limit (trial Period ) To Entire Application Usage

Dec 21, 2010

1. I need to protect DLL

2. Applying time limit (trial period ) to entire application usage.

View 3 Replies

Is It Safe Saving Credential Data In Session State For Short Period Of Time

Jan 1, 2011

Because of some situation , I had to save users password in session state for short period of time .it unsafe holding some important data in session state?

View 5 Replies

AJAX :: Modal Popup Close In Server Or Client Side By Certain Time Period

Jul 13, 2013

How to Model Pop Up Extender control invisible by certain time period.

View 1 Replies

Web Forms :: Connection Attempt Failed Because The Connected Party Did Not Properly Respond After A Period Of Time?

Jul 7, 2010

my code

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;

[code]...

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 74.125.155.109:465Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 74.125.155.109:465Source Error:

[Code]....

Line 34: mailClient.EnableSsl = true;Line 35: mailClient.Timeout = 1000000; Line 36: mailClient.Send(mailMessage);Line 37: mailMessage.DeliveryNotificationOptions = DeliveryNotificationOptions.Delay;Line 38: mailMessage.DeliveryNotificationOptions = DeliveryNotificationOptions.OnFailure;
Source File: d:My
WebsitesBenefitsBenefitsDefault.aspx.cs Line: 36
Stack Trace:

[Code]....

[SocketException (0x274c): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 74.125.155.109:465] System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +239 System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +35 System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) +224[WebException: Unable to connect to the remote server] System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6, Int32 timeout) +5482743 System.Net.PooledStream.Activate(Object owningObject, Boolean async, Int32 timeout, GeneralAsyncDelegate asyncCallback) +202 System.Net.PooledStream.Activate(Object owningObject, GeneralAsyncDelegate asyncCallback) +21 System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout) +332 System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port) +160 System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port) +159 System.Net.Mail.SmtpClient.GetConnection() +35 System.Net.Mail.SmtpClient.Send(MailMessage message) +1213[SmtpException: Failure sending mail.] System.Net.Mail.SmtpClient.Send(MailMessage message) +1531 Benefits_Default.Page_Load(Object sender, EventArgs e) in d:My WebsitesBenefitsBenefitsDefault.aspx.cs:36 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927

View 3 Replies

Web Forms :: Connection Attempt Failed Because Connected Party Did Not Properly Respond After A Period Of Time

May 7, 2015

I got server error when downloading pdf file from my webpage in asp.net."A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond in asp.net."

 Code:

protected void btnPdf_Click(object sender, EventArgs e)
{
imgphoto.Src = "http://localhost:51350/Project/imagesLogin/black.png";
string imgurl = Convert.ToString(imgChart.ImageUrl);
imgurl = imgurl.Replace("~", "");
imgChart.ImageUrl = "D:/Project" + imgurl;
Chart1.Visible = false;

[code]....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved