How can i identify users country on the web?

hi
i need to know in my servlet from where users are coming from. i tried to look at the headers of the http protocol but didn't find anything except of the language which is not enough.
how can i?
thanks

That is my point- you know the IP address of the computer that is accessing your site. If I belong to a multinational company who runs their global network through servers in the US then even if I am in England your site would record me as being from america. You may not be interested in the proxy but my point is that in a lot of cases that is all you can get.
However, you can get a general idea because most people will be running through proxies in their own country, so as long as you don't need to rely on the results completely you will be fine.

Similar Messages

  • How can i stop user to get the same screen while entering same T code

    hi experts,
    how can i stop user to get the same screen while entering same T code (_Means i want user enter same t code but got different different screen how it is possible.)_
    i want to know how can we set a authorization is such a manner ...
    Through different different login id user got different different screen while entering same T-code.
    for example if there is two functional login id mum & noida...
    then user login through that and
    enter any same functional tcode (for getting purchase order)
    but get different different window...so how come it is possible.....
    plz explain in brief
    thanks in advance...plz do reply as soon as possible

    For a custom transaction this is easy, you need to ask your developers to be able to direct users to different screens based on the results of an authorisation check.  You could have an auth field e.g. ZSCREEN which is checked in the program & decides what screen the user has access to.
    For standard transactions, unless already coded, I would forget it & do what is recommended by Subramaniam and create transaction variants as required.  Assign each variant to a custom t-code and users access it that way.
    What I am interested is is why do you want to do this?

  • How can we publish Labview data using the web

    how can we publish Labview data using the web?
    Dr. Eugene Berman, Moran Kamilyan and Ravit Bar

    [email protected] wrote:
    how can we publish Labview data using the web?
    You could use shared variables and publish them to the network or use data sockets.
    Kudos always welcome for helpful posts

  • How can I reference a dtd in the Web-Inf directory from an xml file?

    Hi,
    I've placed my test.xml and test.dtd files in the following
    direcory (part of my web application)
    weblogic\config\MyDomain\applications\sample\Web-inf
    When I refer to the dtd from the xml file, as follows,
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE application SYSTEM "test.dtd">
    Weblogic tries to look for the dtd in the weblogic directory(the
    place where I started the server from). How can I get it to read
    the dtd in the Web-inf directory?
    I'm using Weblogic6.0 SP1 on Windows NT 4.0
    Thanks.

    Two options:
    1) Use SYSTEM "http://localhost:7001/sample/test.dtd"
    2) Or use XML registry in WLS6.0
    Cheers - Wei
    "Paromita" <[email protected]> wrote in message
    news:3aaff997$[email protected]..
    >
    Hi,
    I've placed my test.xml and test.dtd files in the following
    direcory (part of my web application)
    weblogic\config\MyDomain\applications\sample\Web-inf
    When I refer to the dtd from the xml file, as follows,
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE application SYSTEM "test.dtd">
    Weblogic tries to look for the dtd in the weblogic directory(the
    place where I started the server from). How can I get it to read
    the dtd in the Web-inf directory?
    I'm using Weblogic6.0 SP1 on Windows NT 4.0
    Thanks.

  • How can we restrict users from changing the data in HFM.

    Hi All,
    We have requirement from users where, They don't want the base data being loaded from SAP to HFM via FDM through ERPi to get changed in HFM at <Entity Currency>. They want data to be read only and no body should be able to change neither Grid nor Forms and neither Smart View. If we restrict by Shared services access then again they can't change ownership management value.
    Regards,
    Sushil

    Hi Thanos, Thanks for your reply.
    Yes i am aware of the security class, so your suggestion is to use security classes to restrict users? And how can i use the phased submission for the same?  I am new to HFM so please bear with me.
    I have one more question that my Application is HFM EPMA application. So is it necessary to have Application Administrator to change hierarchy and Deploy the Application from EPMA?
    Thanks,
    Sushil

  • How can I get users who accessed the database during last one month

    Hi All,
    How can get the list of users who logged on to the database DBProd and made changes to the tables of particular schema during say last month and current month.
    Thanks & Regards.

    DBA_PRIV_AUDIT_OPTS :-Describes current system privileges being audited across the system and by user and who has updated what can be done through trigger which would send the information to a history table. If you have it ready ask your team..
    SQL> select PRIVILEGE,SUCCESS,FAILURE from DBA_PRIV_AUDIT_OPTS where user_name='SCOTT';
    no rows selected
    SQL> audit ALTER SYSTEM by scott by access whenever not successful;
    Audit succeeded.
    SQL> audit session by scott by access;
    Audit succeeded.
    SQL> select PRIVILEGE,SUCCESS,FAILURE from DBA_PRIV_AUDIT_OPTS where user_name='SCOTT';
    PRIVILEGE SUCCESS FAILURE
    CREATE SESSION BY ACCESS BY ACCESS
    ALTER SYSTEM NOT SET BY ACCESS
    Regards
    Karan
    Edited by: Karan on Aug 2, 2012 7:15 PM

  • Multiple triggring events - How can you identify which one started the wf?

    Hi all,
    I would like to know if there is a way of identifying which triggering event started the wf.
    The situation is like this: i have a workflow that can be started by one of 6 triggering events (6 different situations for vendor master data - creation needed, extension needed, change needed and so on). I have to do different steps inside the workflow function of which event actually triggered the wf.
    Is there a container element that gets some sort of identification for the event that actually triggered the wf?
    I found a container element that holds the name of the event but it's a multiline container element (so i guess it holds all the event names) and i can't use it in a multiple condition.
    Thank you
    Cristina

    for those events, you can add want you want as abap dictionary
    it doesn't matter, just look in SE11, where you can find any kind of data element of type char1 and use that one.
    Those events, are those standard events or events that you trigger yourself with the function SWE_EVENT_CREATE?
    Edited by: Kristof De Bruecker on Mar 24, 2010 2:56 PM

  • How can I allow user to customize the functionality of program at runtime? (not using runtime code compilation)

    Using .NET Framework 4.0 what features are available that would allow to accomplish something very modular and user customizable, like depicted in this XML.  Where I define specific base operations like Get() and Put() methods that operate on strings. 
    And allow the user to add and remove those or mix and match them in a way that they basically design their own run time functionality that suits them.  So they just create their own 'Operation' and fill it with the operations they want to perform on some
    incoming data type, in this case it is a string - with substring and insert methods. 
    EDIT - Assuming end user is non programmer and Dynamic Code compilation is not an option.  I have an idea maybe using dynamic keyword, but not sure if it makes what i suggest possible.
    <Operation Name="GetValues">
      <Get id=123"  FromIndex="2" ToIndex="23"/>
      <Get id="234"  FromIndex="3" ToIndex="5"/>
       <Output Path="C:\" Filename="testOut.txt" Append="true">
         <Format>
              <Result id="123"/> , <Result id="234"/>
         </Format>
       </Output>
    </Operation>
    <Operation Name="InsertValue">
      <Put AtIndex="5">stringtoinsert</Put>
      <Put AtIndex="36">anotherstringtoinsert</Put>
    </Operation>

    Hi sjs1978,
    I am not familiar with dynamic code, and I made a research about it.
    >> I'm aware of dynamic code compilation, but that requires user to input pieces of code.
    Did you try to store the pieces of code into a file and call the code when the dynamic code compilation requires user to input code?
    In addition, I found links about using code provider to compile a source file, and the links below might be useful to you.
    # Dynamic Source Code Generation and Compilation
    https://msdn.microsoft.com/en-us/library/650ax5cx(v=vs.110).aspx
    # CSharpCodeProvider Class
    https://msdn.microsoft.com/en-us/library/microsoft.csharp.csharpcodeprovider(v=vs.110).aspx
    # Is it possible to dynamically compile and execute C# code fragments?
    http://stackoverflow.com/questions/826398/is-it-possible-to-dynamically-compile-and-execute-c-sharp-code-fragments
    Best Regards,
    Tony
    Help each other

  • How can I edit user informations from the backhand???

    Pls help me...

    Hi Kausar,
    what exactly is it that your are trying to achieve? A little more information would help.
    Nicole Windham | http://bcgurus.com/Business-Catalyst-Templates for only $7

  • Lion Server: How can I enable directory listing for the Web Server?

    The functionality was part of the Server App in Lion Server but was not included in Lion.  Can anyone shed some light on how to enable Directory Listing.  Any help is appreciated!

    Go to /etc/apache2 and edit the file 000_any_80_.conf
    using sudo nano command and replace  "-Indexes" with "+Indexes".
    Restart Apache with "sudo apachecrl restart"
    Good luck,
    Ricky
    from Costa Rica

  • How can i open pdf files from the web without saving them

    Windows 7
    Firefox 5
    Adobe Reader 9
    when i want to see a web based pdf file i have to save it before opening it instead of it just opening in a pdf window.

    You can't.
    Those PDFs are only accessible on the Mac.
    They can not even be accessed by iOS.

  • How can I print an article from the web to a PDF file?

    I know there is a way to do this because one of my students does this all the time.  However, I cant seem to do this on my computer. Is there something I need to download or install.  We have the Adobe that you can combine PDF, etc.

  • How can I search within iCloud on the web.

    Dear readers,
    I can't see a possibillity to search within iCloud agenda's. How does it work?
    Thanks! Marc

    Hello Marc,
    Unfortunately, there is no search option available right now.
    Best regards.

  • How can I update Firefox without having the Web Crawler too.

    I used the update to the latest Firefox offered when I opened my current version of Firefox. The download was uneventful.
    Then I tried to use the "new improved version of Firefox".
    When I tried to search for something my Google was overridden and Web Crawler took over. I could not remove any
    reference to Web Crawler and have the new version work.
    I finally ended up deleting Firefox completely and reloading from a thumb drive.
    Everything is good again, but I would like to upgrade if there is a way to avoid Web Crawler.
    Thank you for any help you may be able to provide.

    Watch out for unofficial upgrades, which sometimes are advertised in popups generated by web pages using official-looking text and images. If you get a prompt and you're not sure it's trustworthy, you can always get Firefox from here:
    http://www.mozilla.com/

  • How can I install any application from the web as I can`t do so now?

    can I download and install any web application with Adobe download assistant?
    such as download accelerator plus or any other download manager.

    What has this to do with Adobe? You're looking in the wrong place. Browser plug-ins/ extensions are handled by the respective routines in the browsers themselves...
    Mylenium

Maybe you are looking for

  • How to create ONE graph with a growth trend ($ and %)?

    I would like to create a graph with a growth trend. The graph should have figures on one side reflecting $ values and on the other % growth. I cannot make a trend on the same graph and usually spend ages adding another graph to show the trend. I end

  • How to use standard text?

    hi experts, i have created a standard text in so01. now i want to use it in my smartform. can anyone help me, plz give the procedure to use that standard text in my form. thanks in advance for ur responce.

  • Need to adjust volume for 20+ tracks at once

    Is it possible to slide the volume down for 20+ tracks all at the same time? If so, how???

  • Contracts and order

    Hi Gurus, I am new to Contracts in SD. I have to create a contract which is entered into the order and applies to all line items. Can you please explain the configuration and flow. Should I create two sales doc types one for Contract and another for

  • Average color of a gradient?

    Is there a way to change an object's fill from a gradient to a solid color that is the average of that gradient? What I want to do is have a grid of squares, select them all and apply a colorful gradient to them as a whole, and then average each squa