Print Page | Close Window

IP issue when loging in two users under same proxy

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=24451
Printed Date: 06 April 2026 at 7:07pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: IP issue when loging in two users under same proxy
Posted By: StarDust
Subject: IP issue when loging in two users under same proxy
Date Posted: 19 September 2007 at 12:41am
I have 9 computers here all uses a proxy IP though two of them has their own routable IP (from the pc I am writing this).

When I log onto my forum at http://board.ebizbd.net from this PC using Admin account and from another PC using user account following strange situation occurs:

From my PC, I can only see the admin account online.
From the other PC I can only the user account online.
But never the both together.

Why this is happening?


-------------
http://board.ebizbd.net/">Tips, mods and skins for WWF v9.x



Replies:
Posted By: WebWiz-Bruce
Date Posted: 19 September 2007 at 8:44am
To understand this you need to understand how HTTP works, unlike other protocols like FTP, HTTP is a stateless protocol, meaning that the connection to the sever is not maintained.

Infact the way HTTP works is that a suppurate anonymous connection is made not just to get each web page, but for each image, attached CCS style sheet, etc. for that page. As soon as the page, images, etc. has been sent to the users browser the HTTP connection is dropped.

This means for things like active users there is no accurate way to tell if a user is simply reading a page or have left the forum. So you have to use workarounds, in this case Web Wiz Forums tracks active users based on their IP address, which it stores for a period of 20 minutes, after 20 minutes of no activity the user with their IP address is dropped from the active users list.


-------------
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: StarDust
Date Posted: 19 September 2007 at 1:51pm
boRg do you try to say WWF cannot get IP address behind proxy IP?

I was using a global IP on my machine. If WWF could detect the IP behind proxy, it should detect my IP.

Another machine was not using any global IP. so WWF should get the proxy IP as the second machines's IP.

So, you see, WWF should get two different IPs here.

I am asking why it is not getting that?


-------------
http://board.ebizbd.net/">Tips, mods and skins for WWF v9.x


Posted By: WebWiz-Bruce
Date Posted: 19 September 2007 at 2:21pm
Web Wiz Forums attempts to get the users original IP from behind the proxy, but if it can not then it would use the IP address of the proxy.

If both machines are going through the same proxy, then depending on how the proxy is setup the only IP address available maybe that of the proxy.


-------------
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: WebWiz-Bruce
Date Posted: 19 September 2007 at 2:24pm
This is the function used for getting the IP address, as you can see it attepts to get the original IP address, but if this is not passed to the web server by the proxy server, then it is impossible to get the originators IP address, leaving only the proxy servers available:-



Private Function getIP()

    Dim strIPAddr

    'If they are not going through a proxy get the IP address
    If Request.ServerVariables("HTTP_X_FORWARDED_FOR") = "" OR InStr(Request.ServerVariables("HTTP_X_FORWARDED_FOR"), "unknown") > 0 Then

        strIPAddr = Request.ServerVariables("REMOTE_ADDR")

    'If they are going through multiple proxy servers only get the fisrt IP address in the list (,)
    ElseIf InStr(Request.ServerVariables("HTTP_X_FORWARDED_FOR"), ",") > 0 Then

        strIPAddr = Mid(Request.ServerVariables("HTTP_X_FORWARDED_FOR"), 1, InStr(Request.ServerVariables("HTTP_X_FORWARDED_FOR"), ",")-1)

    'If they are going through multiple proxy servers only get the fisrt IP address in the list (;)
    ElseIf InStr(Request.ServerVariables("HTTP_X_FORWARDED_FOR"), ";") > 0 Then

        strIPAddr = Mid(Request.ServerVariables("HTTP_X_FORWARDED_FOR"), 1, InStr(Request.ServerVariables("HTTP_X_FORWARDED_FOR"), ";")-1)

    'Get the browsers IP address not the proxy servers IP
    Else
        strIPAddr = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
    End If

    'Remove all tags in IP string
    strIPAddr =  removeAllTags(strIPAddr)

    'Place the IP address back into the returning function
    getIP = Trim(Mid(strIPAddr, 1, 30))
End Function



This is why many hackers and fraudsters use proxy servers to hide their IP address.


-------------
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: StarDust
Date Posted: 19 September 2007 at 3:42pm
Originally posted by -boRg- -boRg- wrote:

This is the function used for getting the IP address, as you can see it attepts to get the original IP address, but if this is not passed to the web server by the proxy server, then it is impossible to get the originators IP address, leaving only the proxy servers available:-


Ok.

Though it has no concern to this topic nor this forum, i want to know if there is any way to bypass this proxy server.

Actually, it's not me but my ISP who is, somehow using the proxy. They are using microtik servers and we connect to this server through PPPoe protocol.


-------------
http://board.ebizbd.net/">Tips, mods and skins for WWF v9.x



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