User Profile

Collapse

Profile Sidebar

Collapse
srj87
srj87
Last Activity: Oct 23 '12, 04:50 AM
Joined: Sep 13 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • srj87
    replied to how to find number of online users
    if you want to check out the website here is the url
    http://maccopacco.com...
    See more | Go to post

    Leave a comment:


  • srj87
    replied to how to find number of online users
    i actually did something like that before and i am decrementing the counter on session end event in global.asax file code below
    Code:
    protected void Session_End(object sender, EventArgs e)
    {
          count = Convert.ToInt32(Application["myCount"]);
          Application["myCount"] = count - 1;
    }
    but if i open the page in different browsers the counter is certainly incrementing...
    See more | Go to post

    Leave a comment:


  • srj87
    replied to how to find number of online users
    by implementing this method i still wont get the actual number of users ie guest users. since this is an e-com website i am forcing users to login only after the checkout process. i am looking for something that would give approximate count of both guest and logged in users..
    See more | Go to post

    Leave a comment:


  • srj87
    started a topic how to find number of online users

    how to find number of online users

    i have an asp.net website which now i need to find the number of online users. i found couple of articles which suggest creating an application variable in global.asax file and increment it in session start event and decrement it on session end event. however with this approach im not able to get an accurate count and after 10 or 20 minutes the counter is reseted automatically. my website is in shared hosting environment and session config is stateserver...
    See more | Go to post
No activity results to display
Show More
Working...