Accessing cgi env vars from within html db

Hello all
Please can you tell me how to access the variables that are exported to the cgi environment of the apache webserver from within an html db application.
Specifically, I have server ssl enabled on the apache server and want to display one of the exported variables:"SSL_SERVER_S_DN_CN" (=some.server.name) from within my html db application.
Thank you.

"423104",
You can use the OWA_UTIL function to fetch values of CGI environment variables:
select owa_util.get_cgi_env('SSL_SERVER_S_DN_CN') from dual
Thanks,
- Scott -

Similar Messages

  • How do I access BSD file tree from within Linux?

    I just installed PC-BSD 8.0 RC on an external USB HDD.  I went with the PC-BSD default partition layout, i.e. one primary partition for the entire PC-BSD slice, and 4 "partitions" within that slice, for /, swap, /usr and /var.
    In order to access the PC-BSD file tree from within Linux, I mount it as follows:
    mount -t ufs -o ufstype=ufs2,ro /dev/sdb1 /mnt/bsd
    But after executing this command I can only access the PC-BSD / , not /usr and /var , presumably because they reside on two BSD "partitions" (subslices) different from / .  Is there any way I can mount these (read-only) in Linux, too, or would I have to reinstall PC-BSD and opt for laying out the slice differently, i.e. specifying only / and swap in sdb1?
    Last edited by RobF (2010-02-13 11:55:39)

    Look at  /dev/sdb*  there should be more than just sdb1.  You would need to mount those to see which is which.  For ufs write support the default kernel needs to be recompiled with experimental enabled.

  • Accessing Datagrid row data from within an itemRenderer

    I would like to know how I can access another row's data from within an itemRenderer.  I need to do some formatting of my cells based on other row data. Here's what I mean... I have a datagrid and in row 0 col 2's itemRenderer I would like to access row 1 col 1's data in order to do a comparison so I can determine how to format row 0 col 2's data and so on.  Is there a way from within the item renderer to reach into another row and access the data?  I can't seem to find a clear answer so I thought I'd go to the pro's.
    Thanks!!

    You can use this code to get to the dataProvider of the grid.
    var o:Object = this.parent.parent;
    var dp:Object = o.dataProvider;

  • Referencing Vars from within CFC

    Hi Everyone,
    I'm an experienced CF programmer but haven't done much with
    cfc's. I am trying to set a variable in application.cfm which I
    later want to reference from within a cfc. I'm receiving an error
    message in the cfc that says that the variable is undefined.
    The logic isn't conducive to me passing the variable as an
    argument to the cfc.
    Is there some scope in which I can set the variable from the
    application.cfm which will permit the varaible to be referenced
    from within the cfc?
    Thanks!

    Is there some scope in which I can set the variable from the
    application.cfm which will permit the varaible to be
    referenced from
    within the cfc?
    Many will say this is a bad idea, but who am I to judge. If
    you really
    want to do it, the CFC has the same access to all the normal
    server,
    application, client and session data that a normal CFM
    template does.
    But to have access to those scopes it has to be a member of
    the same
    "application" as defined by the <cfapplicaiton
    name="aString"...>
    property. If you have, as is commonly done, put your CFC's in
    their own
    folder outside the application root then it is likely that
    they are not
    defined to an application name.
    The CFC's need to have an <cfapplicaiton
    name="aString"...> tag at the
    top of the file or be under a directory matched to an
    application.cfm|cfc file that defines the name of an
    application to
    share scope variables with.

  • Accessing a VAR from within a Function

    I'm sure this is a simple question, but I have been batteling
    it all night. I am pulling data from a database, this works fine.
    the data loads into flash fine, but I cant figure out how to use
    this data outside of the function.
    I have looked at global var, timeline vars, but I must be
    missing something. I have attached my code, if you run it, it will
    load the data, I left the link live.
    In the function the data traces correctly, outside of the
    function it fails.
    Thanks
    ~Chris

    Ok, I attempted this last night, and I am unning into an issue.
    Heres what I have, I am pulling data from a mySQL database, into a
    php file that includes XML, Here is the PHP Script.
    $query = "SELECT * FROM Teams WHERE active = 'Y'";
    $resultID = mysql_query($query, $linkID) or die("Data not
    found.");
    $xml_output = "<?xml version=\"1.0\"?>\n";
    $xml_output .= "<teamData>\n";
    for($x = 0 ; $x < mysql_num_rows($resultID) ; $x++){
    $row = mysql_fetch_assoc($resultID);
    $xml_output .= "\t<item>\n";
    $xml_output .= "\t\t<teamName>" . $row['TeamName'] .
    "</teamName>\n";
    $xml_output .= "\t\t<manager>" . $row['Manager'] .
    "</manager>\n";
    $xml_output .= "\t\t<order>" . $row['LeagueOrder'] .
    "</order>\n";
    $xml_output .= "\t</item>\n";
    $xml_output .= "</teamData>";
    echo $xml_output;
    ?>
    NOTE: This script does run fine, if I run the PHP I do get the
    correct results.
    so I modified the Action Script you sent me a little to fit
    my PHP script. but I must be missing something. I think the problem
    is, what part of my XML goes after "studentData
    newTextField.text = studentData
    .teamName + " :: " + studentData.manager + " :: " +
    studentData
    .order;
    Thanks Again for the help
    /////////////////////////////////////////////////////////////////////////////////////

  • Accessing Class Member Vars From Flash?

    Hi,
    I'm writing an audio intensive application that requires a lot of data manipulation on the Alchemy side and I ran into a wall with my approach.
    I'm using C++ to initialize a Class and populate its members in the "Alchemy-side" of the project. However, to keep things tidy and fast, I wish to write some audio data to a Float Array member of the class directly from Flash to avoid redundant copying.
    If this seems strange, I have done it successfully for a Float Array defined in the main C (or C++) file and passed a pointer back to AS3 so that the "shared memory" could find the precise location in memory and read/write:
    Setting up shared memory:
                   var ns:Namespace = new Namespace("cmodule.cppPackage");     
                   cRAM = (ns::gstate).ds;     
                   libLoader = new CLibInit();
                   lib = libLoader.init();     
    where cRAM is a byteArray I used and is associated with the shared memory. cRam,position = DataPtr would get me access to the data I want
    However, this approach hasn't proven fruitful for Data Arrays located within a class. Here is a quick look at my class implementation:
    class AudioChannel {
    private:
         int fs, frameSize;
         bool fftComputed;
    public:
         float *audioFrame, *fftFrame;
         int *intArr;
         int stuff;
         AudioChannel();                                             //default constructor
         ~AudioChannel();
         void initChannel(int fSize, int sampleRate);     //initializes the paramters
         int getSampleRate();
         int getFrameSize();
    the audioFrame array is allocated and initialized in the "intiChannel" method, and it has public access. From the main .cpp file I simply return &(ch.audioFrame), (ch is the object instance) as an AS3_Ptr so I can use that to find the data.
    The way in which I attempt to access the values in AS3 is as follows:
                   cRAM.position = chAudPtr;
                   for(var i:int = 0; i < 25; i++ ) {
                        cRAM.position = chAudPtr + sizeofFloat*i;
                        var tempVal:int = cRAM.readFloat();
                        trace('the tempVal is : ' + tempVal);
    The problem is, that the function returns the wrong values. chAudPtr is the address for the "audioFrame" member in the C++ class I defined earlier and the initChannelMethod initialized the first 25 values to 0 through 24. I confirmed this with trace statements in the C code. Furthermore, when I try to write to this memory, I receive:
    RangeError: Error #1506: The specified range is invalid
    Is this some sort of limitation of Alchemy with data structures (classes, structs, etc)?. The strange thing is I can read and write the primitive members of the class with no issues (i.e. "stuff, fs, frameSize") using the above methods. But I can't seem to get it to work right with arrays in the object.
    Any tips are appreciated, I'm trying to create something really clean and self-contained.
    Thanks.

    sorry about the &nbsp. you can ignore that...some weird formatting thing for the code-style formatting....

  • Not able to access a file referenced from a HTML file

    Hi,
    Using UCM i am checking two files aboutus.html and aboutusBanner.png in About Us FOLDER.Checkin is happening perfectly well.
    Now In JDEVELOPER I am creating a webcenter application (named MyPortalApplication) and accessing those file using a connection to the UCM server.I am able to fetch the files under
    Application Resouces->Connection ->Content Repository ->UCM ->Contribution Folder ->About Us
    UCM I am using a connection name.
    My aboutus.html file in accessing the aboutusBanner.png to display some image.
    Below is code snippet for aboutus.html ...
    <table align="CENTER" width="930px" BORDER=0 bgcolor="white">
    <tr>
    <td>
    <img src="aboutusBanner.png" />
    </td>
    </tr>
    <tr>
    <td valign="top">
    <p style="font-family:Verdana;font-size:14px">
    <br>
    Go Green Eat Fresh opened in 1992 by three Italian brothers with a vision:
    </p>
    </td>
    </tr>
    </table>
    But when i am running the application that banner image (aboutusBanner.png) is not getting displayed.I think i am not giving the path aboutusBanner.png in aboutus.html correctly.
    Please suggest me how my aboutus.html should use the aboutusBanner.png in code given above.
    Thanks,
    Rajeev

    <img src="aboutusBanner.png" />This may reference the file while it is on filesystem (most likely on a web server, must be in the same directory).
    If you want to create a reference to a file in UCM (document repository), you need to do it differently. The easiest way (if your file is in Public security group) is to use html link to the file: e.g. http://{serverURL}/{instance name}/groups/public/documents/graphic/oly_088631.jpg (search for the file in UCM and copy the link from the search result dialog).
    A better way is to use SSXA - see this manual http://download.oracle.com/docs/cd/E17904_01/doc.1111/e13650/toc.htm - when your html will be constructed from a template and the image will be defined through a placeholder (you will learn to use placeholders in Chapter 3 of the manual). Since PS3, SSXA should be usable for Webcenter pages.

  • Accessing a native method from within a packaged class

    I have seen some very useful information from RPaul. However, I can not quite get it to work.
    I have a class "JNIGetUserId" that is in a package "com.services.localoptions". I am trying to call a native method from a dll. it works fine at the default package level. But not in the package. I have tried adding the "_" between each level of the directory in the h and c++ files. I also found that doing a javah at the top of the package structure it includes some information in the h file. A "_0005" shows up between each level.
    This is on Windows XP. I am also using VisualAge for Java. I also am using JDK 1.3.1.
    The source files:
    package com.services.localoptions;
    * This class provides the JNI Interface to call the
    * AD User Maintainence routines.
    * These routines are stored in the JNIGetUserIdLibrary.dll.
    * The routines are:
    * <ul>
    * <li>getUser - returns a string containing the User Id
    * <eul>
    * @author: Ray Rowehl
    * @date (10/15/2003 10:30:59 AM)
    public class JNIGetUserId
         // Load the library
         static
         try
              System.out.println("loading dll");
         System.loadLibrary("JNIGetUserIdLibrary");
         System.out.println("loaded dll");
         catch (UnsatisfiedLinkError ue)
              System.out.println("Link Error");
    * native C++ method to call getUserId routine
    public native String getUser() throws Exception;
    * This method allows us to test standalone..
    * Creation date: (10/16/2003 2:08:58 PM)
    * @param args java.lang.String[]
    public static void main(String[] args)
         try
              System.out.println("Trying method 3");
              JNIGetUserId lGUD = new JNIGetUserId();
              System.out.println(lGUD.getUser());
         catch (Exception e)
              System.out.println("Got an exception " + e);
              e.printStackTrace();
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include <jni.h>
    /* Header for class JNIGetUserId */
    #ifndef IncludedJNIGetUserId
    #define IncludedJNIGetUserId
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class: JNIGetUserId
    * Method: getUser
    * Signature: ()Ljava/lang/String;
    JNIEXPORT jstring JNICALL Java_com_localoptions_JNIGetUserId_getUser
    (JNIEnv *, jobject);
    #ifdef __cplusplus
    #endif
    #endif
    // Implements method to return a string to Java
    // C++ core header
    #include <iostream.h>
    // header from Java Interface
    #include "JNIGetUserId.h"
    #include "JNIGetUserId2.h"
    // returns a string back to Java for package structure
    JNIEXPORT jstring JNICALL Java_com_services_localoptions_JNIGetUserId_getUser
    ( JNIEnv * env, jobject thisObject )
         // set up constant user id for testing return
         char* userid = "RROWEHLP";
         // return userid to caller
         return env->NewStringUTF( userid );     
    // returns a string back to Java for flat structure
    JNIEXPORT jstring JNICALL Java_JNIGetUserId_getUser
    ( JNIEnv * env1, jobject thisObject1 )
         // set up constant user id for testing return
         char* userid1 = "RROWEHL1";
         // return userid to caller
         return env1->NewStringUTF( userid1 );     
    }

    Ok. A co-worker figured it out for me. The key thing is to do "javah com.services.localoptions.JNIGetUserId". Note the use of "." instead of "\". Running on windows, I was used to doing "\". That was part of the problem. Another key is doing the javah at the top of the package structure. This was mentioned in a post over at IBM.
    We got our JNI stuff working now. thanks, ray.

  • Access the source code from an HTML component

    Is there a method to access the source code of a page in the HTML component?
    I can't use URLLoader or HTTPService because of cross domain policies, so I need to use the HTML component to load the page, then access the source.

    Is there a method to access the source code of a page in the HTML component?
    I can't use URLLoader or HTTPService because of cross domain policies, so I need to use the HTML component to load the page, then access the source.

  • Can I access the file name from within an action?

    Hiya Y'all;
    I have an action written that batch opens a bunch of files, resizes the canvas of the frontmost, pastes the rest in, &etc., resulting in a montage. I would love to be able to access the names of the files used to create the montage, paste them in from the clipboard using the text tool, and thus label each pic. I can access the same general functionality through the File>Automate>Contact Sheet II command, but I then have little control over how PS resizes the images, and since my file names are often >32 characters, Contact Sheet II truncates the names in a silly way.
    I really would prefer not to have to use Applescript or Javascript, but I'm getting the feeling that I may have to. Is it possible to use AS to put the name in the clipboard, call the action from the script, and do that each time I paste in a new image? I can't do it once, since I will have six file names that each need to be pasted in . . .
    Hope y'all have some advice,
    R

    Thanks everyone . . . I use Chris's solution, setting it up in an action that is called by Applescript. It works great, though it takes noticeably more time to run the script (I think it has to load and be interpreted each time).
    I haven't tried Michael's suggestion, but, bottom line, you guys ROCK! It's amazing to have an obscure technical question answered in a day or so, and continuing interest from other good folk.
    Thanks to you all!
    Richard

  • How to access Previous Records' Data from within a Query?

    Hi All,
    I am making a report in which I need to compare my "Registration Start Date" with "Registration End Date" of previous registration of same customer. This is to check if there are gaps between any customer's registrations.
    In scenario shown below, I want to filter out RegID '1' as it comes after a gap from previous registration(RegID '3') of the same customer.
    RegID CustID Registration Start Registration End
    1 1 01/04/2005 07/04/2005
    2 2 01/03/2005 29/05/2005
    3 1 21/03/2005 29/03/2005
    4 1 01/03/2005 21/04/2005
    I created the join of this table with itself to pick previous records. it is something like:
    Current_Rec.Cust ID = Prev_Rec.CustID AND
    Current_Rec.RegStart > Prev_Rec.RegEnd
    But this gives wrong data if customer has 3 back-to-back registrations. i.e. Shows last registration in query results as their is a gap between 3rd and 1st registration. But ofcourse there was another record between these two(which was 2nd registration).
    It would be so nice of you guys if you can suggest a solution to this. Any oracle function?
    Thanks & Regards,
    Ahsan

    I Assume the following is your sample data
    Table Name: Tab1
    RegID CustID Registration_Start      Registration_End
    1      1      01/04/2005           07/04/2005
    2      2      01/03/2005           29/05/2005
    3      1      21/03/2005           29/03/2005
    4      1      01/03/2005           21/03/2005
    Note : For the Regid "4" I have changed the Registration_End to 21/03/2005. It was earlier 21/04/2005.
    Coming to the query, you need to generate the list of regid that have gaps.
    Try the following query:
    SELECT c.*
    FROM tab1 c
    WHERE c.reg_id NOT IN (
    SELECT a.reg_id
    FROM tab1 a, tab1 b
    WHERE a.cust_id = b.cust_id
    AND a.registration_end = b.registration_start
    Note: I am sorry I didn't have access to the data base to execute my query. Correct me if I am wrong.
    Regards,
    Somu

  • Accessing Mobile Me settings from within aperture

    Once a mobile me gallery is created, how do you change the settings? For example, changing the group that has access to it or whether users can post images or comments?
    I have tried right-clicking on the gallery, but nothing useful there.
    Also, I have tried accessing the mobile me panel in preferences, but that does not offer options as well.
    I guess if I need to change, I have to log into mobile me and cannot do from aperture?

    Do you not see Settings if you select a MobileMe Gallery in Aperture? There is a small menu at bottom right with Settings as one option. You would then need to upload that change.

  • Access interface related entries from within Receiver Communication Channel

    Hi,
    when i open the interface determintation that i created, i can see.
    Sender Details:
    Communication Component:Sys_Sample_One_D
    Interface: UserMasterQuery_Outb
    Namespace: urn:sample.com:I_Legacy_JDBC_Application
    Receiver Details:
    Communication Component:Sys_Sample_Two_D
    Interface:EmployeeEmailProcessing_Inb
    Namespace:urn:sample.com:I_Legacy_FileApplication
    Interface Mapping: UserMasterResultset_to_EmployeeEmail
    I created a Generic File Receiver communication Channel for my receiver BS: CC_FileReceiver
    In the target FileName field of the Communication channel, i would not like to hardcode any filename value, but my requirement is, the filename should be the same as the name of the Receiver Interface, that has been used in the message exchange.
    in my case, it should be something like EmployeeEmailProcessing_Inb.xml
    How can we access dynamically the interface related entries in the Communication channel, and how can we set those values in the Target Filename value of the File Receiver communication channel.
    in short, if i use the same communication channel for other scenario, the received filename should be different based on the receiver interface name that is executed.
    It would be even more better if i could access/set the receiver namespace value as part of the TargetFileName or TargetFileDirectory values.
    pls let me know how this can be possible.
    Thanks in advance,
    Madhu

    Hi Shabarish,
    thanks for your blog.
    After i saw the blog, the UDF can be created in ESR.
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(u201Chttp://sap.com/xi/XI/System/Fileu201D,u201CFileNameu201D);
    String MyFileName = a + "_" + b +".xml";
    conf.put(key, myFileName);
    At this point, i can see that the required value is stored in certain key in the DynamicConfiguration.
    In the blog, i could not see anything related to ID.
    My question is, what do we need to do ID,
    when we create the FileReceiver Communication Channel, in that we need to specify the mandatory field "Source File Name". what value do we need to enter here.
    Are there any additional things do we need to do in Communication Channel in ID.

  • Data Model damaged, Cannot connect to Access 2013 from within Excel 2013

    Hello,
    Recently I am not able to use PowerPivot for Excel 2013 and I cannot connect to my Access 2013 database tables from within Excel 2013. Whenever I try to click on a slicer in my Excel worksheet, it gives me the following error: "Excel was unable to load
    a necessary component. This component might have been damaged or deleted. Reinstall the client software or data source driver software for your database."
    I am using Microsoft Office Pro Plus 2013 on Windows 7, 64-bit version. I have tried reinstalling Microsoft SQL Compact Edition 2005 and reinstalling Office 2013. I have run out of ideas and am a loss what to do next ? 
    Can anyone help point in the right direction for a possible solution to this problem ??? 
    Would appreciate all help.
    Thank you.
    ~Maneesh
    The problem with being punctual is, there's nobody there to appreciate it !!!

    Hi
    This is the forum to discuss questions about apps for office develop. For your question is more about Excel, I will move this thread to the TechNet forum for
    Excel
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly
    can either share their knowledge or learn from your interaction with us.
    Thank you for your understanding.
    Best Regards
    Lan
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Accessing Var from main Nib/Class - [global variables]

    I'm sure this is a simple solution and the problem is I'm just not thinking right. I just started programming in Objective C but have come a long way in the past 2 weeks. Pretty extensive knowledge in C# and some java.
    Anyways, I've been creating an app and have streams working, CFNetwork working, network services discovery working and a tab bar with a custom View controller linking to one of the tab-bar buttons.
    So when you click on one of the tab bar items it opens a new nib file. That nib loads a table view. When nib loads it hits a method which starts looking for network services and updates the table when it finds some.
    Now the idea is is to have a selector on the cell and when you choose the service it adds same variable info, ip and port, back to a global variable which can be used through the entire app and all extra loaded nib files.
    Out of all this, I don't know how to access global variables....prob should be the simplest thing to do out of all I've done. I have ideas of how it should be done but don't know how to access it.
    Idea would be:
    MainWindowNib has NSString var that is public with a getter setter. But how can I access that MainWindowNib var from a SecondView.nib file/class. There a way to get the parent of the secondView.Nib? I have no clue.
    Any help would be great!
    Thanks!

    I'm still a bit confused how you access that method.
    Main.nib class : UIApplication
    NSString *port
    SetupView.nib : NSViewController
    view
    -TableView added to view
    -Seperate NSObject for TableViewDelegates
    -When item selcted, pass NSString to [main port]
    How do I get a pointer to port. I don't really understand how to do this with objective C.
    In C# I would be something like: [Not exact syntax but u get the idea]
    public Main : Form
    public string port{get;set;}
    Main()
    sView SeconddForm = new SecondForm(this);
    public SecondForm : Form
    SecondView(Main main)
    main.Port = "8080";
    Message was edited by: Clarke76
    Message was edited by: Clarke76

Maybe you are looking for

  • User dynamic for RFC communication channel

    Hello, we are developing an architecture for a bank company. We have a JAVA frontend and a R/3 backend, with a XI machine between both. All the authorizations are implemented inside the R/3 backend, and we need that all the users of the frontend exis

  • Checking free disk space after setting up Boot Camp?

    Hi team, I've just gone thru the install process for putting Windows 8 on my MB Air.  Can anyone point me to info on keeping an eye on free disk space?  I have a 128Mb SSD drive, and prior to installing Win 8 I cleared a lot of media files off the SS

  • IOS 5 update error. error: 3914

    title says all.

  • GetNames in Alphabetical order in WLST

    Is there any method defined in wlst 8.1 to get the methodNames in sorted form like alphabetically sorted, example, if a domain as server names A, B,C when we type getName() we get in a random fashion any method to return the names in the below format

  • Looking for Blackberry Storm Desktop Manager Download

    I have the new storm and had to uninstall the desktop manager because it stopped working for some strange reason. I  was wondering if anyone has the link to download the latest version online ? Thanks in advance