Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get user IP on intranet
Message
 
 
À
09/07/2014 15:16:58
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:
01603440
Vues:
42
>>>>>>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.
>>>
>>>You should probably protect yourself by not allowing that to happen in the first place - or at least make it difficult.
>>>You could, for example, disable the submit button (and change the text to 'Please Wait' or somesuch) then, when the order is successfully submitted, clear the order details before re-enabling the button.
>>
>>I thought about something like this but so far I cannot come up with anything practical. When the Order Page is called, it is not "known" if the user brings it up for the first time or by Back from the Order Acknowledgement page. And since the issue has not been a big problem (most customers understand that Back is not a good thing), I have not spent the time to implement it. I think by showing the users that they are doing it, it will help.
>>Thank you.
>
>Re-submitting by first using the 'Back' button does imply a certain contrariness on the users part :-}
>You can't prevent it completely but there are a few tricks that make it difficult. Google 'Disable Back Button' for some suggestions.
>
>This is the funniest : http://jordanhollinger.com/2012/06/08/disable-the-back-button-using-html5

If I make the Back difficult, the customer will make my life difficult :). As far as "contrariness on the user part" I would use a better word; but this a family forum and I will be banned :). Thank you.
"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
Répondre
Fil
Voir

Click here to load this message in the networking platform