Get all POST parameter

Hi
I want to log every call to my procedure which are coming from the web (over Apache and mod_plsql).
To save all important data I want to save the procedure name and the HTTP parameter into a logfile.
I must do this in the session validation procedure so I have no access to the parameters passed to the previously called procedure.
If I would only use GET parameter then it would not be a problem, because I could get the whole query string from the environment variable QUERY_STRING.
But how do I get the parameter passed with POST?
Unfortunately I cannot change anything on the server (neither Apache nor mod_plsql).
Is there any possibility to get the POST parameter with PL/SQL?
Any hints are appreciated!
Thanks!

I'm sure the answer is in the Oracle mod_plsql manual:
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14337/toc.htm
Cheers,
Colin

Similar Messages

  • Passing get or post parameter with getUrl()

    Hello I need to pass get or post parameter with getUrl, the
    help say that:
    firstName = "Gus";
    lastName = "Richardson";
    age = 92;
    getURL("
    http://www.macromedia.com",
    "_blank", "GET");
    but it dosen't work! I dont anderstan where I have to tell to
    getUrl wicht variavle it have to send in the get? Where can I tell
    to the getUrl function, the variables to send are firstName,
    lastName and age, per example?
    Thanks, can you

    I want to send the variables to an html page, but I don't
    know how to do this? Can you help me please?

  • Passing Parameter using GET or Post in J2ME

    I have a problem passing parameter which has space between character to Servlet through GET or POST method. I am using HttpConnection. Which works properly whenever i sending data without space, else it shows Exception for space in URL.
    If i use trim method which is Client side scrpiting then i am not able to update the database which takes input from the J2ME midlet.
    Can any1 help me how to pass the parameter with space.

    Hi Mark,
    The "number" format relies on the formats supported by the JS
    native Number object. We don't actually do any number parsing
    ourselves in Spry. One workaround, if you need things to sort
    properly, is to have one column that is formatted european numbers,
    and one column that is actually supported by the Number object. You
    can create this custom column by using a filter:
    function DataFilter(ds, row, rowIndex)
    row["@premieNumber"] = new
    Number(row["@premieNumber"].replace(/,/, "."));
    return row;
    Regarding the Request() object and your setURL() call ... the
    3rd arg to setURL is optional, and only necessary if you are going
    to use POST, or specify some header to send. If you do use post or
    want to send some specific header, the 3rd arg just has to be an
    object with only whatever options you want to specify, you don't
    have to specify them all ... the options names exactly match the
    fields defined in a Spry.Utils.loadURL.Request object.
    We do have a utility class that gathers all of the input
    values in a form. You will find it in Spry 1.6 in SpryUtils.js. The
    name of the function to call is:
    var str = Spry.Utils.extractParamsFromForm(form, elements);
    The 2nd arg is optional, and allows you to specify what
    element values you want to retrieve. If it is not specified, it
    gets all values in the form.
    --== Kin ==--

  • Hierarchical query - How to get all parent records - Duplicate post

    Hi,
    In Oracle, START WITH, CONNECT BY commands will give all the direct and indirect child records. Other way round, is they are command which gives all the parent records till the root? Please let me know. I am working on Oracle 9i Release 2.
    Thanks a lot for your help.
    Edited by: skv on Nov 21, 2008 11:05 AM

    Duplicate post.
    Hierarchical query - How to get all parent records
    Please edit this post heading to duplicate post.
    Regards.
    Satyaki De.

  • How to get customized text when ALL as parameter

    Hi all,
    I am having OEM as parameter in my bipublisher report.when I am selecting ALL as parameter i want to display customized text.If particular oem is selected it should display that OEM.
    I tried like
    select decode(:OEM,'*','XYZ',:OEM) from table-name where oem in (:OEM)but no luck!!can any one helps me in this.

    Please place this in the datamodel
    {$ if ${pdept}='*' $}
    select 'Sample Text' from dual
    {$else $}
    SELECT * FROM SCOTT.EMP
    WHERE 1=1
    and deptno =:pdept
    {$endif$}
    In this 'pdept' is the parameter. When you select All, it will execute the below query.
    select 'Sample Text' from dual
    and you will get below xml.
    <ROWSET>
    <ROW>
    <SAMPLETEXT>Sample Text</SAMPLETEXT>
    </ROW>
    </ROWSET>
    When you select deptno=30, it will execute the below query.
    SELECT * FROM SCOTT.EMP
    WHERE 1=1
    and deptno =30
    and you will get below xml.
    <ROW>
    <EMPNO>7499</EMPNO>
    <ENAME>ALLEN</ENAME>
    <JOB>SALESMAN</JOB>
    <MGR>7698</MGR>
    <HIREDATE>1981-02-20T00:00:00.000-06:00</HIREDATE>
    <SAL>1600</SAL>
    <COMM>300</COMM>
    <DEPTNO>30</DEPTNO>
    </ROW>
    So in the RTF template you can place some thing like
    <?if:SAMPLETEXT?>
    Sample Text
    <?end if?>
    <?if:EMPNO?>
    <?EMPNO?> <?DEPTNO?>
    <?end if?>

  • How to get all parameter names along with their values in stored procedure which is being executed

    Im using sql server 2012, is there any possible way to get all the parameters of a stored procedure along with the values passed to it.
    I need these things to build a xml. I mean this should happen in the procedure which being executed and it should be common for all the procedures.
    For example, let us suppose we have to procedures,
    uspSave, @name='test' @age=20
    uspDelete @id=2
    now in uspSave procedure, i need to get @name, @age and the values 'test', 20 and in uspDelete, i should get @id with value 2.
    For getting the column names, i tried this,
    select parameter_name from information_schema.PARAMETERS where specific_name=OBJECT_NAME(@@procid)
    now is it possible to loop through the result of above query and can we get the values.

    I think  you need running SQL Server Profiler to capture this info even in SQL Server 2012.
    Best Regards,Uri Dimant SQL Server MVP,http://sqlblog.com/blogs/uri_dimant/
    Blog : MS SQL Development and Optimization
    Blog : Large
    scale of database and cleansing

  • How to retrieve Post Parameter

    Hi All,
    I am new to JSF..I need to retrieve Post parameters from plain HTML pages.
    Once i receive the post parameter in JSF then i need to validate one of the parameter and redirect user to diffrent pages based on the parameter value.
    What is the best way doing this scenario..
    The source of the parameters are from HTML pages comes from diffrent locations..
    Any help would be highly appriciated..

    Try the following code snippet to access request parameters:
    FacesContext facesContext = getFacesContext();
    ExternalContext externalContext = facesContext.getExternalContext();
    Map requestMap = externalContext.getRequestMap();Now that you have the request map, you can retrieve any of the request parameters using:
    <ObjectType> parameter = <ObjectType>requestMap.get(<ParameterName>);where <ObjectType> is the data type of the request parameter and <ParameterName> is the name of the request parameter.

  • Get All Values From NewForm.aspx using Event Receiver Item Adding

    HI All,
             I have conditions to check before the insertion of "Calendar Event".For this I am using Item Adding Event Receiver ,When Click on Save button I need to get all the values of Items filled in NewForm.aspx and check
    the condition,If condition satisfies make them insert else show alert info  as"Not Valid",Below is code and error message
    public override void ItemAdding(SPItemEventProperties properties)
                base.ItemAdding(properties);
               string StartTime = properties.AfterProperties["Start Time"].ToString();
               string EndTime = properties.AfterProperties["End Time"].ToString();
    Error
    Object reference not set to an instance of an object.
    Use the New "Keyword to create an object instance
    Can any one help me how can I do it.
    Thanks,
    Quality Communication Provides
    Quality Work.
    http://siddiq-sharepoint2010.blogspot.in/
    Siddiqali Mohammad .

    Hi,
          Have you tried with the code snippet as mentioned below
    string EndDate = Convert.ToString(properties.AfterProperties["EndDate"]);
    string StartDate = Convert.ToString(properties.AfterProperties["EventDate"]);
    If my post is helpful - please click on the green arrow to mark it as answer

  • How to get all AD User accounts, associated with any application/MSA/Batch Job running in a Local or Remote machine using Script (PowerShell)

    Dear Scripting Guys,
    I am working in an AD migration project (Migration from old legacy AD domains to single AD domain) and in the transition phase. Our infrastructure contains lots
    of Users, Servers and Workstations. Authentication is being done through AD only. Many UNIX and LINUX based box are being authenticated through AD bridge to AD. 
    We have lot of applications in our environment. Many applications are configured to use Managed Service Accounts. Many Workstations and servers are running batch
    jobs with AD user credentials. Many applications are using AD user accounts to carry out their processes. 
    We need to find out all those AD Users, which are configured as MSA, Which are configured for batch jobs and which are being used for different applications on
    our network (Need to find out for every machine on network).
    These identified AD Users will be migrated to the new Domain with top priority. I get stuck with this requirement and your support will be deeply appreciated.
    I hope a well designed PS script can achieve this. 
    Thanks in advance...
    Thanks & Regards Bedanta S Mishra

    Hey Satyajit,
    Thank you for your valuable reply. It is really a great notion to enable account logon audit and collect those events for the analysis. But you know it is also a tedious job when thousand of Users come in to picture. You can imagine how complex it will be
    for this analysis, where more than 200000 users getting logged in through AD. It is the fact that when a batch / MS or an application uses a Domain Users credential with successful process, automatically a successful logon event will be triggered in associated
    DC. But there are also too many users which are not part of these accounts like MSA/Batch jobs or not linked to any application. In that case we have to get through unwanted events. 
    Recently jrv, provided me a beautiful script to find out all MSA from a machine or from a list of machines in an AD environment. (Covers MSA part.)
    $Report= 'Audit_Report.html'
    $Computers= Get-ADComputer -Filter 'Enabled -eq $True' | Select -Expand Name
    $head=@'
    <title>Non-Standard Service Accounts</title>
    <style>
    BODY{background-color :#FFFFF}
    TABLE{Border-width:thin;border-style: solid;border-color:Black;border-collapse: collapse;}
    TH{border-width: 1px;padding: 2px;border-style: solid;border-color: black;background-color: ThreeDShadow}
    TD{border-width: 1px;padding: 2px;border-style: solid;border-color: black;background-color: Transparent}
    </style>
    $sections=@()
    foreach($computer in $Computers){
    $sections+=Get-WmiObject -ComputerName $Computer -class Win32_Service -ErrorAction SilentlyContinue |
    Select-Object -Property StartName,Name,DisplayName |
    ConvertTo-Html -PreContent "<H2>Non-Standard Service Accounts on '$Computer'</H2>" -Fragment
    $body=$sections | out-string
    ConvertTo-Html -Body $body -Head $head | Out-File $report
    Invoke-Item $report
    A script can be designed to get all scheduled back ground batch jobs in a machine, from which the author / the Owner of that scheduled job can be extracted. like below one...
    Function Get-ScheduledTasks
    Param
    [Alias("Computer","ComputerName")]
    [Parameter(Position=1,ValuefromPipeline=$true,ValuefromPipelineByPropertyName=$true)]
    [string[]]$Name = $env:COMPUTERNAME
    [switch]$RootOnly = $false
    Begin
    $tasks = @()
    $schedule = New-Object -ComObject "Schedule.Service"
    Process
    Function Get-Tasks
    Param($path)
    $out = @()
    $schedule.GetFolder($path).GetTasks(0) | % {
    $xml = [xml]$_.xml
    $out += New-Object psobject -Property @{
    "ComputerName" = $Computer
    "Name" = $_.Name
    "Path" = $_.Path
    "LastRunTime" = $_.LastRunTime
    "NextRunTime" = $_.NextRunTime
    "Actions" = ($xml.Task.Actions.Exec | % { "$($_.Command) $($_.Arguments)" }) -join "`n"
    "Triggers" = $(If($xml.task.triggers){ForEach($task in ($xml.task.triggers | gm | Where{$_.membertype -eq "Property"})){$xml.task.triggers.$($task.name)}})
    "Enabled" = $xml.task.settings.enabled
    "Author" = $xml.task.principals.Principal.UserID
    "Description" = $xml.task.registrationInfo.Description
    "LastTaskResult" = $_.LastTaskResult
    "RunAs" = $xml.task.principals.principal.userid
    If(!$RootOnly)
    $schedule.GetFolder($path).GetFolders(0) | % {
    $out += get-Tasks($_.Path)
    $out
    ForEach($Computer in $Name)
    If(Test-Connection $computer -count 1 -quiet)
    $schedule.connect($Computer)
    $tasks += Get-Tasks "\"
    Else
    Write-Error "Cannot connect to $Computer. Please check it's network connectivity."
    Break
    $tasks
    End
    [System.Runtime.Interopservices.Marshal]::ReleaseComObject($schedule) | Out-Null
    Remove-Variable schedule
    Get-ScheduledTasks -RootOnly | Format-Table -Wrap -Autosize -Property RunAs,ComputerName,Actions
    So I think, can a PS script be designed to get the report of all running applications which use domain accounts for their authentication to carry out their process. So from that result we can filter out the AD accounts being used for those
    applications. After that these three individual modules can be compacted in to a single script to provide the desired output as per the requirement in a single report.
    Thanks & Regards Bedanta S Mishra

  • Not getting all texts on 650

    i am a newbie and i apologize in advance for my ignorance.
    i am now on my second treo 650. both have had the same problem. i am not getting all my texts from other verizon friends. on their phone it says it went though, but i never receive it. on my old phone i could take out my battery and then it would come through after the phone restarted, not so on my replacement. i am just not getting them. the sound on my sms is not working all the time either.
    i am getting a little frustrated considering i pay for texts i am not getting and i never know i am not getting them until someone asks me why i didn't respond!
    thanks in advance for any help!!!
    Post relates to: Treo 650 (Verizon)

    Hi  I just bought a Treo 650 and am not being able to receive sms with taking the battery out like you....  Did you ever figure out what was wrong??
    Post relates to: Treo 650 (Verizon)

  • Not getting all the attributes value from Trusted Recon in eventhandler

    Hi,
    I am not getting the values of all the attributes in hashmap from Trusted recon in eventhandler.
    Following is the hashmap value I am getting :
    Parameter Hashmap value is {re_key=1869, Email=[email protected], Role=Full-Time, act_key=22, User Login=TUser43, Xellerate Type=End-User, Last Name=User43, First Name=Test}
    Please let me know how to get all the attributes value in eventhandler. I need to take some decisions based on these attributes.
    Thanks

    You should be getting all the values in the recon event.
    To get the current user states for all the records in the bulk event use this:
    Identity[] currentUserStates = (Identity[]) eventDataHashMap.get("CURRENT_USER");
    Now when you are looping through your bulkParametersp[], you can use the same get from the currentUserStates:
    Identity currentUser = null;
    currentUser = currentUserStates[counter];
    Now if the attribute is not in your hashmap, you can use:
    currentUserState.getAttributes().get(attribute)
    -Kevini

  • Mail not getting all messages from server and other strange behavior

    Hello All,
    Mail has been doing some odd things for me of late (at least the last week) and I'm lost for a solution to my problem. As far as I can tell, perhaps my Prefs. have become corrupted, or at least something in relation to Mail has become corrupted. Perhaps someone has a solution to this issue before I have to back it all up and NUKE the whole **** app to get back up and running properly.
    The main issue I appear to be having is that Mail is not getting all of my Mail messages from my server. I can log into my web-mail interface provided by my domain host and can see there that there are many e-mails that don't appear to be coming down the pipe to the Mail.app client. I'm getting some e-mail's but not all....
    *Here are all the things that I've checked:*
    • The missing e-mails are not being picked up as Junk and are not in the Junk folder
    • I have done a search within Mail for the missing e-mail's and nothing turns up anywhere.
    • I have checked on the server end that I'm not maxing out my InBox or that there are any other service issues from my domain host provider.
    • I have been into Prefs and checked my account settings - most (see below) of which appear to be as normal and are fine.
    *Here are the weird things that I've noticed:*
    • When I went into the Prefs. for the account in question, I noticed that my login had changed. For example - it usually it is "[email protected]", however it had seemed to have changed to just "johndoe" - I know this wasn't me as my domain host will not allow me to access any mail unless the login is the full mail address.
    • In RULES, every rule I double click to check on seems mostly fine, apart from the fact that every "Account is:" the pull down menu just appears as blank. Usually it says "Account is: ([email protected])"
    It's there last 2 items that make me think something is corrupted - so I guess my question is, what pref or file has corrupted and how can I fix it without having to give Mail.app a digital enema?
    Any assistance would be most helpful - missing some but not all your incoming e-mail messages is quite annoying, as you can guess...!
    Thanks,
    Boz

    Hello Boz.
    This appears to be a rules issue. Mail is almost certainly downloading those messages, but they’re probably being processed by your rules in an unexpected way — given the information you’ve provided, maybe because there is something wrong with the file where the account settings are stored.
    Do you have any Mail plug-ins? In the Finder, go to each of the following folders (if they exist). What do you see there?
    /Library/InputManagers/
    /Library/Mail/Bundles/
    ~/Library/InputManagers/
    ~/Library/Mail/Bundles/
    To make accurately reporting this information easier, you may open /Applications/Utilities/Terminal, type the following command (you can just copy it here and paste it in Terminal), and press <Return>. You can then copy the output of that command from Terminal and paste it in your reply to this post:
    ls -1 /Library/InputManagers /Library/Mail/Bundles ~/Library/InputManagers ~/Library/Mail/Bundles
    <hr>
    Verify/repair the startup disk (not just permissions), as described here:
    The Repair functions of Disk Utility: what's it all about?
    After having fixed all the filesystem issues, if any, and ensuring that there’s enough space available on the startup disk (a few GB, plus the space needed to make a backup copy of the Mail folder), try this:
    1. Write down your Mail > Preferences > Accounts settings or take screen shots of them.
    2. If you have a .Mac account and .Mac synchronization of Mail data is enabled either in Mail > Preferences > General or in System Preferences > .Mac, disable it before proceeding.
    3. Quit Mail.
    4. Make a backup copy of the ~/Library/Mail folder, just in case something goes wrong while trying to solve the problem. You can do this in the Finder by dragging the Mail folder to the Desktop while holding the Option (Alt) key down, for example. This is where all your mail is locally stored.
    5. In the Finder, go to ~/Library/Preferences/. Locate com.apple.mail.plist and move it to the Desktop (to be deleted if this solves the problem). If you have a backup of your data that includes a working copy of this file, you may try restoring it from the backup to avoid steps 6-8.
    6. Open Mail. You’ll have to set up your non-.Mac accounts from scratch all over again. If given the option to import existing mailboxes or something like that, don’t. Just enter the account information and Mail will automagically rediscover the data in ~/Library/Mail/ when done.
    7. You’ll have to re-configure some of your Mail > Preferences settings. For spam-related security reasons, the first thing you should do is go to Preferences > Viewing and disable Display remote images in HTML messages if it’s enabled.
    8. As a side effect of re-creating com.apple.mail.plist, Mail might rename Outbox (which is where messages waiting to be sent are stored) to Delivered. The name of that mailbox is actually a misnomer, as it would contain messages (if any) that couldn’t be delivered for some reason. You can delete that mailbox if you wish.
    9. If the problem is fixed now and .Mac synchronization of Mail data was enabled at the beginning, enable it again, go to System Preferences > .Mac > Advanced, click Reset Sync Data, and choose the appropriate options to reset the Mail data stored on the .Mac server with the data locally stored on the computer, i.e. sync data must flow from the computer to the .Mac server.
    <hr>
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. You can easily locate any of the folders referred to in this post by copying the folder path here, doing Go > Go to Folder in the Finder, and pasting the folder path there.

  • Not getting all records in pagination

    I am also have a problem getting all records in the report as the post on Apr. 21,2004. My reports pagination stops at 500. When I set the 'max row count' to 100000. The pagination at the bottom of my page disapears. When I leave 'max row count' empty, it only goes from 1-500. No way to view records past the 500th record.
    I see there was a post on Apr. 21, 2004 about the same thing but it did not specify a fix or work around or if I'm missing a setting. (also tried the log off/on but did not help).
    *My pagination Scheme is 'Row Ranges 1-15 16-30 in select list(wiht pagination)'
    *My report has 1000+ records.
    Thanks, Paula

    The actual number of rows supported by the select list depends on how many rows you show on each page. If you go with the default of 15 rows, you would be able to use the select list with close to 5000 rows. If you increase the number of rows per page, the select list will work with even more rows.
    If the select list can't be used, it may make sense to consider using the "row ranges with set pagination" style. Set pagination lets you navigate from one set to the next instead of one page to the next, so you can navigate through your result set a lot quicker.
    However the best option for reports with that many rows would be "row ranges x-y", without showing the total number of rows. The reason is that the report renders a lot faster if you don't have the total number of rows calculated. In order to better be able to find certain records, I would recommend a search field on your report page that lets you filter the result set.
    Hope this helps,
    Marc

  • Hello i just came back from the apple store and they had to restore my phone and i just downloaded all my apps and music back but my photos that are on icloud i only got 80 out of 768 back. what do i do to get all of them back?

    hello i just came back from the apple store and they had to restore my phone and i just downloaded all my apps and music back but my photos that are on icloud i only got 80 out of 768 back. what do i do to get all of them back?

    If you tried to restore to your iCloud backup and your photos didn't fully restore, first go to Settings>iCloud>Storage & Backup and make sure it isn't still in the process of restoring.
    If the restore is complete and all your photos weren't restored, all you can do is try restoring the backup again.  You might try the solution posted by ezjules in this discussion: https://discussions.apple.com/message/19518589#19518589.  This involves opening the photos app after the phone restarts and you provide the passwords for your Apple IDs, then leaving it open for the remainder of the restore process.

  • Get all the values from a multiple select in a multipart form

    Hi there!
    I am using a form with enctype="multipart/form-data" in order to upload files from the form.
    I have read this page: http://commons.apache.org/fileupload/using.html and everything works well for my form.
    The only problem is that I can't get all the values from a "multiple select" html object. I get only one value.
    Using servlets I have used this method:
    public java.lang.String[] getParameterValues(java.lang.String name) But now I have enctype="multipart/form-data" in my form and I can't use this way...
    Is there a way to get all the values of a multi-valued parameter?
    Thanks a lot!
    Stefano

    Hi
    I have got solution for this problem so, I am listing here logic
    assume tag name of html
    <select name="moption" multiple="multiple">
    iterate it in as
    String moption="";
    boolean cnt=true;
    while(itr.hasNext())
    FileItem fi=(FileItem)itr.next();
    if(fi.isFormField())
    if(fi.getFieldName().equals("moption"))
    if(cnt==true)
    moption=fi.getString();
    cnt=false;
    else
    moption=moption+","+fi.getString();
    If wants more help then mail me your problem
    at [email protected]
    Thanks!
    Anand Shankar
    Edited by: AnandShankar on 6 Nov, 2009 12:54 PM

Maybe you are looking for