Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Url received is wrong
Message
De
15/01/2010 11:39:23
 
 
À
15/01/2010 04:01:03
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01444069
Message ID:
01444154
Vues:
48
>I assume you mean HTTPRequest rather than Request ?

oRequest is defined as this:
        Public oRequest As System.Web.HttpRequest
I initialize it in the Page_Init() event of the System.Web.UI.Page like this:
    Public Class WebForm
        Inherits System.Web.UI.Page

        Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
            oProcess.oRequest = Request
>How do you know that the IP in the URI is the clients IP address (i.e. how do you *know* that the request came from that IP)?

When I had those two errors, the URL received was indicating the same IP as the IP that initiated the call, which was assigned like this:
cIP = oRequest.ServerVariables("REMOTE_ADDR")
>Are you sure that that IP address hasn't inadvertently been mapped to the web site?

On both occasions, this gave two different IPs which are really not assigned under my domain.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform