Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get user IP on intranet
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01603311
Message ID:
01603470
Vues:
39
>>>>As you correctly indicated, I am getting "::1" for IP when running on my local Web Site. Do I understand that when I deploy the app to the customer web site (and they will hit it not from local web site), I will see valid IPs?
>>>
>>>You will see a valid IP if your site responds to the Internet.
>>>
>>>Note that you might get multiple occurences of the same IP for various users, assuming those users are from the same company going out through the same proxy.
>>
>>Thank you (and Viv). For me it is important to log the IP of a user who submits within several seconds. Basically I am troubleshooting the following issue. Users submits duplicate orders by Submitting and then clicking on Back and Submitting again. They claim that they don't do it. And the only way I can prove to them (and to myself) is by logging every Submit with the IP and order number. So two submits within seconds with the consecutive order numbers and the same "IP" will show the trend.
>
>I agree with Michel and Viv - disable the submit button as soon as they submit the order. If they hit the back button the page is normally pulled from the browser cache so the button will still be disabled. Another approach is to embed a unique # in a hidden field in the page that gets stored with the order. Before saving use this value to check to see if it's been previously submitted. Or, if you don't want to do that, use the customer + invoice total + invoice date as a key - when they submit check to see if an invoice for the same customer/amount/date exists. If it does, prompt them to confirm before sving.

Thank you. I am taking notes of all suggestions and may implement some or all of them in the next update.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform