How to get the client computer name database?
HiyaAs part of the authentication of the user of our application, the requirement is that if a user is connected from a machine, the same connection of can not the user to different machines at the same time.
In Forms6i, we had accomplished this by using the following query:
Select the Terminal
Session $ v
Where username = v_username
And v_terminal terminal <>;
Where
v_username = USER-> Oracle Forms reserve Word
v_terminal = Client_Win_API_Environment.Get_Windows_Username
In Forms 6i, the column Terminal of V$ Session used to return the name of the local client computer.
However, in the form of 10g, it returns the name of the computer on which Oracle Application Server is installed, which seems correct to me.
So my question is how do we get the client computer name of the database in the context of Oracle's 10g? Is there another package of database or view/table that returns the client computer name?
Your suggestions/comments will be much appreciated.
See you soon
Mayur
We have implemented the same exact requirement to retrieve the IP address of the client (WebUtil provides a function for this) and write it in the field v$ session.action (this can be done using the dbms_application_info package DB). We are so in shape 10g v assessment $session.action instead of v$ session.terminal.
Tags: Oracle Development
Similar Questions
-
How to get the Client computer NAME IPAddress?
Hi all
We have forms g 11 64-bit with Server 2008 64 bit.
We want to limit our form to be run on a particular computer only, so we need the details of the particular Client Machine.
To do this, we tried with function SYS_CONTEXT (with options like ip_address, host, terminal etc.) in
When New_Form_instance relaxation, but it still gives me the details of the Server instead of the Client computer.
Please guide me.
Kind regards
Dass.In order to use the JavaBean, must be added the clientinfo.jar (and the full path) to the CLASSPATH = parameter in the default.env and also to add the clientinfo.jar to the archive = setting in the formsweb.cfg. This change should be made on the Application Server and if you want to run your form from the forms generator, then you must make the change of your local files as well.
As François mentioned, you ignorant error FRM-13008 design if you want because it doesn't affect the generator of forms and not the runtime. If you would rather the error, you can add the clientinfo.jar and the full path in the Windows registry in the FORMS_BUILDER_CLASSPATH string.
Craig...
-
Download the client computer name using java or javascript
Hi guru,.
... JDev 11.1.2.4.0...
I don't have any application in the ADF and I want to get the client computer name using java or javascript. I searched on this, but I have found that this javascript method
function getWorkstationID() {var ax = new ActiveXObject ("WScript.Network"); alert (ax.ComputerName); }
but that use ActiveX that only work in IE with some security configurations, and I want to get the computer name of any browser client.
Can you please help me to get the client computer name?
Try one of these 2 ways:
HttpServletRequest request = (HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest(); String computerName = request.getRemoteHost();
or
HttpServletRequest request = (HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest(); InetAddress i = InetAddress.getByName(request.getRemoteAddr()); String computerName = i.getHostName();
-
How to get the IP address, Port database don't &; Oracle SID details
Hello
How to know the IP address, Port database don't & Oracle SID detailsHello
The IP address is for not for the database server.
Port no, may be different.
check what sid, listening to the port
lsnrctl > status
or
Open the tnsname.ora or listener.ora to find what hostname(ip address), what is the port number and what is the SID that you connect
Hope that answers your question.
Kind regards
Rakesh Jayappa -
How to get the PC host name using labview
Hello
I have a need to display the name of the host (login name) pc in my application. How do I get using labview in DURATION that is if I write a program and run it in different systems of PC / same system with different users, so I should get corresponding logins.
Can someone help me on this?
Thank you
Kind regards
DEGHA
Should be available in LV RTE
-
How to get the right folder name/location during import?
I can't get LR 3.x to import into the desired folder structure, as I used to do with
LR 1.x and 2.x. I am trying a structure that looks like this:
I want LR to automatically create a folder with the timestamp in it and find the right year and then let me in the last part of the name of the folder that identifies the object, prior to importation. So far, all I can get is the name of the file generated automatically by date with no ability to edit or a folder name completely custom where I locate correctly and typing the entire name, including the date. In LR 1.x and 2.x, it was really easy. LR suggest the name of the folder (or multiple folder names if the images extend over several dates) with the date in it, and I could double-click it to add the additional designation prior to importation. Could not find any way to do in LR 3.x. Does that mean, that I have to do the import, wait it ends and then go back and manually rename each file that it created. It's especially a pain when there are several folders (through multiple dates) or when my backup program has already hit and made a backup of the date generated automatically until I come and rename it manually.
So my question is, how do I get LR for the right folder name based on the date in the folder location good auto suggestion and I would like to add something on the end of it before importing? It was very easy in the import of LR1.x and 2.x.
jfriend0 wrote:
Isn't "this a common way to organize images? He was born in LR1.x and 2.x. I guess I'm surprised they would take something like this in LR3.x.
He slipped under the radar when again the new window import. If all goes well, we will get it back in the next major update. In the meantime. You can add the importation of additional text in right click on the folder name and then selecting rename in the context menu.
-
How to get the current file name and &; or path
How can I get the current path or the file name?
I have really found the answers in the net. This.Path or app.path have been proposed, but I couldn't make it work.
Thanks in advance for your answer!
LiveCycle Designer ARE 8.2.1.3144.1.471865
Hello
event.target.path.toString (); will give the full path, including the file name.
event.target.documentFileName.toString (); will give the file name only.
Good luck
Niall
-
How to get the latest SNA catalog database
Hi all
I have a database of catalog where my PROD database is saved. Evereyday at 12 AM rman takes the backup hot PROD.
Now, I want to create an auxiliary database using the backup RMAN, for this I want to restore using the RCS since the catalog views.
Please help me to get the SNA view RC_ number.
Kind regards
BikramCurrent SNA:
Use the dbms_flashback package to get the current SNA. This value will be used during the instantiation of the destination, as well as by RMAN, site during replication of the database.
SET SERVEROUTPUT ON
DECLARE
until_scn NUMBER;
BEGIN
until_scn: =.
DBMS_FLASHBACK. GET_SYSTEM_CHANGE_NUMBER;DBMS_OUTPUT. Put_line (' until what SNA: ' | until_scn);
END;
/Concerning
Asif Kabir -
new computer - how to get the old computer firefox bookmarks
I had to buy new computer cause the old one does not stay on, and I want / need to get all my info from Firefox - bookmarks etc... on my new computer. I had everything backed up (supposedly) on a WD external drive and I can't have information out of it either. My other computer was 5 years old and I used Firefox from the start, so there is a lot of info that I desperately need.
If you still have this old computer, remove the hard drive and put it in a USB drive enclosure - (should be available at most stores that sell new computers) and recover your data from the old hard disk Firefox.
http://support.Mozilla.com/en-us/KB/recovering+important+data+from+an+old+profile
Your old profile is located here in Windows Vista and Win7:
drive: \Users\Windows login user name\AppData\Roaming\Mozilla\Firefox\Profiles\profile_name -
Hi all
Can I know how to get the bluetooth device name and the name of the bluetooth device address device class?
Example:-if my bluetooth device address is :-98:EB:CD:01:1F::90 then how do I get my bluetooth device name?
I hope you understand my problem. Let me know as soon as possible.
:
Thanks for the reply.
-
Get the source of Weblogic database connection
Dear all,
Hopefully, you guys right. :-)
How to get the Source of Weblogic database connection string?
I have a Source of data created in my WebLogic.
Because I want to get my Java Bean connection string for Jasper report.
Please advice.Class.forName("oracle.jdbc.driver.OracleDriver"); con = DriverManager.getConnection("jdbc:oracle:thin:@hostname:1521:orcl", "username", "pass");
Best regards
Angelique
Published by: Alexis on January 23, 2012 18:37Hello
If you have configured the data source name in the Weblogic, then
below the code is obtained the connection based on the name of the data source.java.sql.Connection connection = null; try { javax.naming.Context initialContext = new javax.naming.InitialContext(); javax.sql.DataSource dataSource = (javax.sql.DataSource) initialContext.lookup("<
>"); connection = dataSource.getConnection(); } catch(Exception e){ e.printStackTrace(); } Kind regards
Hari -
OSB: How to get the proxy service_name
Hi all
Could someone please tell me how to get the proxy service name within the stream of messages of OSB.
Kind regards
Rakesh Ranjan.
Published by: Rakesh Ranjan on October 1, 2010 14:27Variable context Inound ($inbound) keeps the value of the service name and the name of the invoked operation. Use the expression $inbound/@name to get the name of the service and the expression $entrants / name of the ctx:service/ctx:operation/text() for the invoked operation.
Do not forget that this Polish name will be there only for services that have operations (such as a WSDL based service)
Kind regards
Anuj -
How to get the name of the client computer and the name of the customer osuser
Hello everyone,
the trigger below works fine. But I want to get the name of the client computer and the name of osuser customer in the output of the same trigger shown below, how do I do this in the same trigger? any help is highly appreciated.
Thank you and best regards.
triggering factor:
------------
CREATE TABLE logonaudit
(
user_id VARCHAR2 (30),
sess_id NUMBER (10),
LOGON_TIME DATE,
host VARCHAR2 (20));
Table created.
CREATE OR REPLACE
Logon_audit RELAXATION
AFTER LOGON
WE DATABASE
DECLARE
V_program varchar2 (120);
BEGIN
SELECT UPPER (program)
IN v_program
SESSION $ v
WHERE audsid = sys_context ('USERENV', 'SESSIONID');
If (upper (v_program) as 'TOAD %' or upper (v_program) like '% SQLPLUS %')
then
INSERT
IN logonaudit
VALUES)
user,
sys_context ('userenv', 'sessionid'),
SYSDATE,
sys_context ('userenv', 'host')
);
end if;
END;
the output showing sessionid, date, db user name, as a local server machine name.but I want osuser of customer names and the name of the client computer as you know connection of clients to the database of their machines.how can I achieve? any help much appreciated.
Published by: 938946 on December 25, 2012 12:15 AMAccording to AskTom - do not use audsid, dangerous - can be 'zero '.
-
I don't know if this is the right place to post this question, I develop software to support VMWare PCoIP and need to know how to get the host name of the physical machine (which manages the virtual machine and View Client) within a virtual machine before the user logs in Windows of the virtual machine.
I understand there are two ways to read the host name, via the HKEY_CURRENT_USER\Volatile Environment registry and environment variables, but they are available once the user is connected. I need info before the user connects.
Is there a VMware API that can be called or asked the host name?
Thank you.
Not on the broker, but there are the startup scripts to log on to the computer virtual itself: http://pubs.vmware.com/view-52/topic/com.vmware.view.integration.doc/view_integration_startsession_script.9.2.html
Note that these executed when a virtual desktop computer allocated connection, not to the point that the client connects - it is possible for the customer to not complete the connection (crash, cancel, network failure) and so any what solution you design must handle this.
Mike
-
How to get the computer name - forms 10g
Hello
How to get the name of the server or some other identification forms 10g Application?
We have several servers and host load balancing redirects user to the X Server and the forms application, I have to get information from the server to which the user was redirected? Is there a way how to do?
It can be the name of the server, Ip or other identifying information...
Thank you.As the client that connects to the database is the application server
CHE_TEST@tcp_asterix_impl> select sys_context('userenv', 'host') from dual; SYS_CONTEXT('USERENV','HOST') ---------------------------------------------------------------------------- LINZ\CHE-WS
Should return you the host name of your application server.
See http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions165.htm#SQLRF06117 for more information you can get with sys_context
see you soon
Maybe you are looking for
-
Satellite A110-156 - touchpad doesn't scroll
Hi guys,. in 2007, I bought my Toshiba Satellite A110-156, shortly after I have vista home Toshiba as a gift for my new laptop.All right, only my touchpad to scroll. After a new version of the 703014 driver, it works.Only vista keeps naggin at first
-
I would like to use outlook express, but I can't seem to get it properly configured. Can you me in plain English how to set up?
-
Lost my audio. How can I restore IDF high definition audio CODEC
My computer tells me that the system audio mt for IDT high definition audio is not plugged. It worked well and when my computer wants to install the driver I can't connect
-
The touchpad on my laptop does not move the cursor. A mouse plugged into a usb port allows me to move the cursor.What is the problem with the touchpad?The computer is an ACER Aspire 5050.
-
Windows 7 Professional OEM product key
A full install of Windows 7 Professional OEM Version and want to set up a normal Version of Windows without losing my data. A new product key is available, but the OEM version does not change product key. The link to change product key at the bottom