473,382 Members | 1,447 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Show how many visitors are online!

I want to show how many visitors do I have at my website, If the user is
logged I must show it on the list. If there 5 users not logged I must show 5
Guests.

Nov 18 '05 #1
5 1800
it will NEVER be fully accurate...
just add (+1) to a counter in a field, file, etc with the session starts and
remove it with the session on_end

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Luis E Valencia" <lu*******@haceb.com> wrote in message
news:uE**************@TK2MSFTNGP09.phx.gbl...
I want to show how many visitors do I have at my website, If the user is
logged I must show it on the list. If there 5 users not logged I must show 5 Guests.

Nov 18 '05 #2
php nuke does it, there must be away to do it with asp.net
"Curt_C [MVP]" <software_AT_darkfalz.com> escribió en el mensaje
news:#X**************@tk2msftngp13.phx.gbl...
it will NEVER be fully accurate...
just add (+1) to a counter in a field, file, etc with the session starts and remove it with the session on_end

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Luis E Valencia" <lu*******@haceb.com> wrote in message
news:uE**************@TK2MSFTNGP09.phx.gbl...
I want to show how many visitors do I have at my website, If the user is
logged I must show it on the list. If there 5 users not logged I must
show 5
Guests.


Nov 18 '05 #3
it does it but it's not accurate... it never will be.
WWW isn't a statefull system. User connects, page renders, user disconnects,
repeat as needed.
fire up a php nuke site once, connect and make sure user goes +1, then hit
the X in the browser.
Reconnect, most likely it did not go (-1) yet, not until the session times
out.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Luis E Valencia" <lu*******@haceb.com> wrote in message
news:uu**************@tk2msftngp13.phx.gbl...
php nuke does it, there must be away to do it with asp.net
"Curt_C [MVP]" <software_AT_darkfalz.com> escribió en el mensaje
news:#X**************@tk2msftngp13.phx.gbl...
it will NEVER be fully accurate...
just add (+1) to a counter in a field, file, etc with the session starts

and
remove it with the session on_end

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Luis E Valencia" <lu*******@haceb.com> wrote in message
news:uE**************@TK2MSFTNGP09.phx.gbl...
I want to show how many visitors do I have at my website, If the user is logged I must show it on the list. If there 5 users not logged I must

show
5
Guests.



Nov 18 '05 #4
Anyway tell me how to do it in code please
"Curt_C [MVP]" <software_AT_darkfalz.com> escribió en el mensaje
news:Oi**************@TK2MSFTNGP12.phx.gbl...
it does it but it's not accurate... it never will be.
WWW isn't a statefull system. User connects, page renders, user disconnects, repeat as needed.
fire up a php nuke site once, connect and make sure user goes +1, then hit
the X in the browser.
Reconnect, most likely it did not go (-1) yet, not until the session times
out.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Luis E Valencia" <lu*******@haceb.com> wrote in message
news:uu**************@tk2msftngp13.phx.gbl...
php nuke does it, there must be away to do it with asp.net
"Curt_C [MVP]" <software_AT_darkfalz.com> escribió en el mensaje
news:#X**************@tk2msftngp13.phx.gbl...
it will NEVER be fully accurate...
just add (+1) to a counter in a field, file, etc with the session
starts
and
remove it with the session on_end

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Luis E Valencia" <lu*******@haceb.com> wrote in message
news:uE**************@TK2MSFTNGP09.phx.gbl...
> I want to show how many visitors do I have at my website, If the
user
is > logged I must show it on the list. If there 5 users not logged I

must show
5
> Guests.
>
>
>



Nov 18 '05 #5
http://www.google.com/search?sourcei...%22+user+count

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Luis E Valencia" <lu*******@haceb.com> wrote in message
news:OJ*************@tk2msftngp13.phx.gbl...
Anyway tell me how to do it in code please
"Curt_C [MVP]" <software_AT_darkfalz.com> escribió en el mensaje
news:Oi**************@TK2MSFTNGP12.phx.gbl...
it does it but it's not accurate... it never will be.
WWW isn't a statefull system. User connects, page renders, user

disconnects,
repeat as needed.
fire up a php nuke site once, connect and make sure user goes +1, then hit
the X in the browser.
Reconnect, most likely it did not go (-1) yet, not until the session times out.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Luis E Valencia" <lu*******@haceb.com> wrote in message
news:uu**************@tk2msftngp13.phx.gbl...
php nuke does it, there must be away to do it with asp.net
"Curt_C [MVP]" <software_AT_darkfalz.com> escribió en el mensaje
news:#X**************@tk2msftngp13.phx.gbl...
> it will NEVER be fully accurate...
> just add (+1) to a counter in a field, file, etc with the session

starts and
> remove it with the session on_end
>
> --
> Curt Christianson
> Owner/Lead Developer, DF-Software
> Site: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
>
> "Luis E Valencia" <lu*******@haceb.com> wrote in message
> news:uE**************@TK2MSFTNGP09.phx.gbl...
> > I want to show how many visitors do I have at my website, If the user
is
> > logged I must show it on the list. If there 5 users not logged I

must show
> 5
> > Guests.
> >
> >
> >
>
>



Nov 18 '05 #6

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

Similar topics

23
by: deko | last post by:
Can someone point me to a sample script that will log all visitors to my web site? I'm looking for a simple script that will capture IP address, Host Name, Browser, OS, and referring page - and...
2
by: F | last post by:
Hi All How I know in ASP that how many visitors are cuurently on a particular page or website. Kind Regards Fayyaz
5
by: cc | last post by:
From the popular website At this link: http://www.w3schools.com/asp/asp_globalasa.asp I got this code, but it does not work on my server... I can open three IE browsers and watch the count go to...
2
by: muser8 | last post by:
What is the best way in which to uniquely identify anonymous visitors to an asp.net website? I'd like to create on online poll, but I want to guard against people hitting the refresh button,...
0
by: ip2location.inc | last post by:
IP2Location has announced the availability of IP2Location .NET Component, that enables application developers to geolocation the Internet visitors by IP Address from their .NET applications. ...
18
by: damezumari | last post by:
I would like to know how many of the visitors to my site has js enabled and how many has it turned off. I haven't found a simple solution searching Google groups so I suggest the following using...
4
by: Chris | last post by:
Hi, i want to get the amount of visitors online. I did this in global.asax I tested it by opening several browser sessions. The amount increases, but never decreases, when i close some...
0
by: kashok | last post by:
hi all, how to track online visitors ip address and country name through ip address of those who are visiting my web site in asp.net..... Ashok
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.