Print Page | Close Window

Problem seeing online people

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=14297
Printed Date: 12 April 2026 at 2:22pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Problem seeing online people
Posted By: Dr.J
Subject: Problem seeing online people
Date Posted: 18 March 2005 at 5:12am
Hi there,
 
I have my forum up & running, however I don't see anyone in the ONLINE tab on the bottom. It only shows me as being active & online. While I know that other people are active at that point on the forum. I'm asuming it has something to do with ASP settings on my server but fail to see what.. Can someone give me a hint as to how I can fix this??
 
Thanks!!!



Replies:
Posted By: WebWiz-Bruce
Date Posted: 18 March 2005 at 5:33am
It could be that other people have chosen to brows the board anonymously when logging in.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Dr.J
Date Posted: 18 March 2005 at 7:53am
Originally posted by -boRg- -boRg- wrote:

It could be that other people have chosen to brows the board anonymously when logging in.
 
I know for a fact that's not the case. A collegue of mine has not turned this feature on, so he should be viewable. Also the Guest/member counter stays on 0.


Posted By: WebWiz-Bruce
Date Posted: 18 March 2005 at 8:00am
What version are you running?

Also have you tried reuploading files as the most common problem is corrupted files.

Also check that you have application variables enabled on the server.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Dr.J
Date Posted: 18 March 2005 at 8:27am
Originally posted by -boRg- -boRg- wrote:

What version are you running?

Also have you tried reuploading files as the most common problem is corrupted files.

Also check that you have application variables enabled on the server.

We're using version 7.9 with dutch language files. The problem remains with the original english version. Seeing I can access the server through a UNC path, I dont think it has to do with uploading errors..
 
The application variables are enabled on the server.
 
Also when I click on someones profile, who I know is online, it says OFFLINE.


Posted By: Dr.J
Date Posted: 18 March 2005 at 8:45am
I just noticed (after some tweaking) that the forum software checks on IP address for the unique user to be online. At this moment all the users go through our ISA server and seem to get the same IP address. Now it makes sense to me. If I change this, it should work.. right? :)


Posted By: WebWiz-Bruce
Date Posted: 18 March 2005 at 10:12am
You are right.

Becuase HTTP makes it so difficult to keep track of users IP addresses are used to identify users. If they all have the same IP address then it will prevent the feature from running.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Dr.J
Date Posted: 24 March 2005 at 3:50am
Originally posted by -boRg- -boRg- wrote:

You are right.

Becuase HTTP makes it so difficult to keep track of users IP addresses are used to identify users. If they all have the same IP address then it will prevent the feature from running.
 
I have been tweaking the code somehow to get this to change, however I doubt we're the only one that have this problem. How have other people solved this? Or maybe, what are we doing wrong? :)


Posted By: WebWiz-Bruce
Date Posted: 24 March 2005 at 5:39am
Most people use the forum in the conventional way on the Internet where most users have different IP addresses.

The only other way to track site visitors is to use sessions, but these only work if the user has cookies enabled.

Because HTTP is a stateless protocol it is impossible to track users accurately as each page, image, etc. is a separate and new connection, once the page, image, etc. is downloaded to the web browser connection is dropped. The server has no way of knowing if the user is still viewing the site, left the site, or if there next request is even from the same user.

To over come this problem tricks has to be used to track visitors like using cookies or trying to track users by their IP address. Both of which have their faults.

Your only solution would be to convert the system to use sessions to track the users.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Dr.J
Date Posted: 24 March 2005 at 6:46am
Originally posted by -boRg- -boRg- wrote:

Most people use the forum in the conventional way on the Internet where most users have different IP addresses.

The only other way to track site visitors is to use sessions, but these only work if the user has cookies enabled.
 
The way we fixed it, is as followed:
 

Changes in active_users_inc.asp

'******************************************
'***        Get users array position ***
'******************************************

 'Iterate through the array to see if the user is already in the array

For intArrayPass = 1 To UBound(saryActiveUsers, 2)

             'Check the IP address

            '***remove Henk Boons 18 mrt 2005 same IPadres if forum behing proxy

            'If saryActiveUsers(0, intArrayPass) = strIPAddress Then

             '           intActiveUserArrayPos = intArrayPass
            '           blnIPFound = True

            'Else check a logged in member is not a double entry
            'ElseIf

‘check if user already in ActiveUsers array

            If saryActiveUsers(1, intArrayPass) = lngLoggedInUserID then

                &nbs p;       intActiveUserArrayPos = intArrayPass

                &nbs p;       blnIPFound = True

            end if

            'if  saryActiveUsers(1, intArrayPass) <> 2 Then

            '           intActiveUsersDblArrayPos = intArrayPass

            'End If

Next


Changes in log_off_user.asp

 

'Clear the forum cookie on the users system so the user is no longer logged in

Response.Cookies(strCookieName) = ""

Response.Cookies(strCookieName)("UID") = strLoggedInUsername & "LOGGED-OFF"

Response.Cookies("TS") = ""

Response.Cookies("LPM") = ""

Session("ViRead") = ""

saryActiveUsers = Application("saryAppActiveUsers")

saryActiveUsers(4, intActiveUserArrayPos) = CDbl(Now()- 7.000000167871E-03) ‘tag date so user expires

'Update the application level variable holding the active



Posted By: WebWiz-Bruce
Date Posted: 24 March 2005 at 6:51am
The problem with the changes you have made is that Guests (un-logged in users), will all be seen as 1 user.

So if you have 10 un-logged in users on your forum they will only be seen as 1 user.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Dr.J
Date Posted: 24 March 2005 at 7:11am
Originally posted by -boRg- -boRg- wrote:

The problem with the changes you have made is that Guests (un-logged in users), will all be seen as 1 user.

So if you have 10 un-logged in users on your forum they will only be seen as 1 user.
You're right.. The only thing is that our forum is private. That means that every user HAS to register in order to use the forum. In our case this is acceptable.
 
Thanks for your help in determining the problem!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net