Htmldb_get & Checksum Required: Session Level

Hi All,
I have a text field with some javascript on the "onchange" trigger to validate/format the value entered by the user.
All my application items' security are set to "Checksum Required: Session Level"
If a display, by using alert, the result of the javascript, it will pop-up a very long error saying something like "attempt to save item XXX in session state during show processing. item protection level indicates item may be set when accompanied by a session checksum. No checksum was passed..."
When I set the item's security to "unrestricted" it works fine.
Is there any way to set the checksum? Is it worth it?
Is thre any security issue if this item is set tom "unrestricted"?
Regards

Hello,
I'm not sure I'm following you Carl.
I've created the application item.
This is my application process code:
DECLARE
v_first_slash NUMBER(2);
BEGIN
v_first_slash := INSTR(:P5_OTU,'/');
IF v_first_slash <> 0 THEN
HTP.PRN(LPAD(SUBSTR(:P5_OTU,1,v_first_slash-1),2,0) || '/'
|| LPAD(SUBSTR(:P5_OTU,v_first_slash+1,LENGTH(:P5_OTU) - v_first_slash),3,0));
END IF;
END;
And then the javascript located in the region header is:
if (html_GetElement('P5_OTU').value){
var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=validate_format_OTU',0);
get.add('P5_OTU',html_GetElement('P5_OTU').value)
gReturn = get.get();
if(gReturn)
{  html_GetElement('P5_OTU').value = gReturn  }
else
{  html_GetElement('P5_OTU').value = 'Wrong format'  }
get = null;
But I'm afraid I don't know what to do with the new application item.
Many thanks

Similar Messages

  • Session level character set

    The below are my character set in my DB
    NLS_CHARACTERSET=WE8ISO8859P1
    NLS_NCHAR_CHARACTERSET=UTF8
    Correct Answer (If I use english language the result is correct)
    ==========
    select product(',','AB_BC ,DE') from dual;
    (AB_BC, DE,,,)
    After altering the parameter at session level to get Japanese character set I am getting wrong result
    ALTER SESSION NLS_SORT=JAPANESE_M_AI
    ALTER SESSION NLS_COMP=LINGUISTICS
    it is giving me wrong result (I should get the above result)
    =================
    select product(',','A_BC ,DE') from dual;
    (AB, BC , DE,,,,)
    How to change at session leavel to get Japanese character set

    Ok,
    Let's provide the broad picture, as your setup and your commands are incorrect.
    You set the characterset of the database to a characterset the O/S supports.
    Whether or not you have characterset conversion on the client side is determined by NLS_LANG.
    You set NLS_LANG to a characterset the client O/S supports. Ie if you are running on Windows (as always you provide no details at all), the regional settings of the O/S must have been set to Japanese.
    WE8ISO8859P1 is the Latin-1 alphabet and doesn't support Kanji.
    Also the command you specify deal with sorting of the data, not with the characterset itself.
    Also no one can tell what
    select product(',','AB_BC ,DE') from dual;
    constitutes.
    In summary: you don't seem to be reading documentation, or you only look at it.
    None of what you have posted makes any sense, and clearly shows you didn't try to understand the NLS concept.
    Yet again: you don't provide platform and version info
    Yet again: you don't specify any background.
    If you want help, you need to provide as much info as possible.
    You should not require anyone here to tear the information out of you.
    After all: everyone here is a volunteer and doesn't get paid to help you out, but is spending his/her time.
    If you want to continue to post in this fashion, maybe you should find a forum of mindreaders.
    Sybrand Bakker
    Senior Oracle DBA

  • How to measure undo at a session level

    Below is what are trying to do.
    We are trying to implement Oracle's table block compression feature.
    In doing so, in one of our testing we discovered that the session performing the DML (inserts) generated almost 30x undo.
    We measured this undo by using below query (before the transaction commited).
    SELECT a.sid, a.username, used_ublk, used_ublk*8192 bytes
    FROM v$session a, v$transaction b
    WHERE a.saddr = b.ses_addr
    However, above is at a transaction level since it still not committed, we would lose this value once the transaction either committed or rolled back, for this reason, we are trying to find an equivalent statistic at a session level.
    1. What we are trying to find it out whether if an equivalent session level statistic exist to measure the amount of undo generated?
    2. Is the undo generated always in terms of "undo blocks?"
    3. When querying v$statname for name like '%undo%' we came across several statistics, the closest one
    undo change vector size -in bytes?
    4. desc test_table;
    Name Type
    ID NUMBER
    sql> insert into test_table values (1);
    5. However when we run the query against:
    SELECT s.username,sn.name, ss.value
    FROM v$sesstat ss, v$session s, v$statname sn
    WHERE ss.sid = s.sid
    AND sn.statistic# = ss.statistic#
    AND s.sid =204
    AND sn.name ='undo change vector size'
    SID USERNAME NAME BYTES
    204 NP4 undo change vector size 492
    6. Query against: v$transaction
    SELECT a.sid, a.username, used_ublk, used_ublk*8192 bytes
    FROM v$session a, v$transaction b
    WHERE a.saddr = b.ses_addr
    SID USED_UBLK BYTES
    204 1 8192
    What are trying to understand is:
    1. How can we or what is the correct statistic to determine how many undo blocks were generated by particular session?
    2. What is the statistic: undo change vector size? What does it really mean? or measure?

    Any transaction that generates Undo will use Undo Blocks in multiples of 1 --- i.e. the minimum allocation on disk is 8KB.
    Furthermore, an Undo_Rec does not translate to a Table Row. The Undo has to capture changes to Indexes, block splits, other actions. Multiple changes to the same table/index block may be collapsed into one undo record/block etc etc.
    Therefore, a transaction that generated 492 bytes of Undo would use 8KB of undo space because that is the minimum allocation.
    You need to test with larger transactions.
    SQL> update P_10 set col_2='ABC2' where mod(col_1,10)=0;
    250000 rows updated.
    SQL>
    SQL> @active_transactions
           SID    SERIAL# SPID         USERNAME     PROGRAM                       XIDUSN  USED_UBLK  USED_UREC
           143        542 17159        HEMANT       sqlplus@DG844 (TNS V1-V3)          6       5176     500000
    Statistic : db block changes                                      1,009,903
    Statistic : db block gets                                         1,469,623
    Statistic : redo entries                                            502,507
    Statistic : redo size                                           117,922,016
    Statistic : undo change vector size                              41,000,368
    Statistic : table scan blocks gotten                                 51,954
    Statistic : table scan rows gotten                               10,075,245Hemant K Chitale

  • How to Use Transient View Objects to Store Session-level Global Variables

    hi
    Please consider section "40.8.5 How to Use Transient View Objects to Store Session-level Global Variables"
    at http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcstatemgmt.htm#ADFFD19610
    Based on this documentation I created the example application
    at http://www.consideringred.com/files/oracle/2010/ProgrammaticalViewObjectAndRollbackApp-v0.01.zip
    It behaves as show in the screencast at http://screencast.com/t/qDvSQCgpvYdd
    Its Application Module has a Transient View Object instance "MyEmployeesContextVOVI", as master for the child View Object instance "EmpInCtxJobVI".
    On rollback the Transient View Object instance keeps its row and attribute values.
    Also when passivation and activation is forced (using jbo.ampool.doampooling=false ) the Transient View Object instance seems to keep its row and attribute values.
    questions:
    - (q1) Why does the expression #{bindings.MyEmployeesContextVOVIIterator.dataControl.transactionDirty} evaluate as true when a Transient View Object instance attribute value is changed (as shown in screencast at http://screencast.com/t/qDvSQCgpvYdd )?
    - (q2) What would be a robust approach to make a Transient View Object instance more self-contained, and manage itself to have only one single row (per instance) at all times (and as such removing the dependency on the Application Module prepareSession() as documented in "5. Create an empty row in the view object when a new user begins using the application module.")?
    many thanks
    Jan Vervecken

    Thanks for your reply Frank.
    q1) Does sample 90 help ? http://blogs.oracle.com/smuenchadf/examples/
    Yes, the sample from Steve Muench does help, "90. Avoiding Dirtying the ADF Model Transaction When Transient Attributes are Set [10.1.3] "
    at http://blogs.oracle.com/smuenchadf/examples/#90
    It does point out a difference in marking transactions dirty by different layers of the framework, "... When any attribute's value is changed through an ADFM binding, the ADFM-layer transaction is marked as dirty. ...".
    This can be illustrate with a small change in the example application
    at http://www.consideringred.com/files/oracle/2010/ProgrammaticalViewObjectAndRollbackApp-v0.02.zip
    It now shows the result of both these expressions on the page ...
    #{bindings.MyEmployeesContextVOVIIterator.dataControl.transactionDirty}
    #{bindings.MyEmployeesContextVOVIIterator.dataControl.dataProvider.transaction.dirty}... where one can be true and the other false respectively.
    See also the screencast at http://screencast.com/t/k8vgNqdKgD
    Similar to the sample from Steve Muench, another modification to the example application introduces MyCustomADFBCDataControl
    at http://www.consideringred.com/files/oracle/2010/ProgrammaticalViewObjectAndRollbackApp-v0.03.zip
    public class MyCustomADFBCDataControl
      extends JUApplication
      @Override
      public void setTransactionModified()
        ApplicationModule vApplicationModule = (ApplicationModule)getDataProvider();
        Transaction vTransaction = vApplicationModule.getTransaction();
        if (vTransaction.isDirty())
          super.setTransactionModified();
    }Resulting in what seems to be more consistent/expected transaction (dirty) information,
    see also the screencast at http://screencast.com/t/756yCs1L1
    Any feedback on why the ADF Model layer is so eager to mark a transaction dirty is always welcome.
    Currently, question (q2) remains.
    regards
    Jan

  • Setting Session level parameter in FORMS 10g

    Hi folks,
    I want to setup session level setting for NLS DATE FORMAT in FORMS 10g at environment settings. because, i can't change these setting at database level. b,cz different client applications (i.e. .NET,Forms 10g and SQL PLUS) using different settings.
    So, i want to set this NLS DATE FORMAT for SESSION level in FORMS 10g.
    can i include this in default.env, if yes, how to include that one in .env file
    Edited by: user12212962 on Jul 23, 2010 7:18 PM

    No, i want to setup the session parameter for DATE FORMAT. why because, i'm executing oracle stored procedure from forms and this procedure does some logic based on date value.
    In this procedure, i have used all variables as DATE datatype only. and i can't change this procedure due to some other client application's using same procedure like JAVA, .NET, Oracle BI and scheduled jobs. And all these application's working fine, even when i use forms 6i also it's working.
    but when we use FORMS10g, date was treating as DD-MON-RR and all other client applications using DD-MON-YYYY due to session level setting and at database level also has a same format i.e. DD-MON-YYYY. because i logged this NLS value in audit_table when i executed through FORMS10G, JAVA application,.NET
    May be some where it's changing this setting to DD-MON-RR for FORMS10g. Is any settings at Oracle APP server level
    (iAS) for this parameter?

  • Commit and rollback on session level

    Hi All,
    I am calling one stored procedure and I am doing some dml operation in that sp. there after I calling another sp which contain some ddl operations. if process may be fail in somewhere I wanted to rollback all dml transactions.
    So I wanted to commit and rollback on session level. Is such kind of concept available in oracle.
    Prashant.

    Prashant,
    Not sure what you are talking about.
    Commit and rollback is always on session level!!!!
    Also all DDL statements are automatically committed, and rollback in case of errors is always statement level rollback.
    So let's assume
    begin
    insert into foo...;
    update foo...;
    execute immediate 'alter table foo add (last_update date)';
    end;
    exit
    and the alter table fails:
    1 alter table is rolled back
    2 insert and updates are not rolled back.
    If the alter table succeeds
    all statements are committed and you can't roll them back anymore.
    This is why issuing DDL in stored procedures has unwanted side effects and should be conisdered pure evil.
    Sybrand Bakker
    Senior Oracle DBA
    Experts: those who did read the documentation.

  • Session level NLS_COMP NLS_SORT not inheriting from instance parameters???

    Hi all,
    I have an Oracle 11g installation with a database setup as follows: NLS_COMP=BINARY, NLS_SORT=BINARY.
    After playing a bit at the session level with NLS_COMP=LINGUISTIC and NLS_SORT=BINARY_CI, I persisted them at the instance level via ALTER SYSTEM with SCOPE=SPFILE.
    Bounced the database and voila, when I query nls_instance_parameters it reflects my changes.
    Problem is, my parameters are not applied to my session: in fact, if I query nls_session_parameters, both are still set to BINARY. (Note: using sqlplus).
    The documentation (http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/create006.htm) states:
    "A new session inherits parameter values from the instance-wide values."
    Am I missing something here? Is sqlplus somehow overriding the instance-level parameters? (I know sql developer may, depending on your options, hence I went back to basics...).
    Any help appreciated!
    Thanks in advance,
    Paolo

    Hi Sergiusz,
    Thank you again for your reply.
    In my registry NLS_LANG is set to its default value (AMERICAN_AMERICA.WE8MSWIN1252), so I assume that unless I set anything specific in my environment, NLS_COMP and NLS_SORT are affected by that and sort of reset to BINARY?
    If this is the case, then I'm struggling to understand the purpose of setting them at the instance level, given that as you said, NLS_LANG shouldn't be removed as an environmental variable and it seems to override them?
    Along the same lines, if I understand this correctly, should I have no control over the environment that my application runs in (e.g. a web application running in a shared IIS app pool), then the only option left is (re)setting my variables every time I establish a connection with the Oracle db, thereby starting a new session?
    Really appreciate your help.
    Cheers,
    Paolo

  • Can we change the DB character set at session level

    hi,
    Please help me
    when iam giving the alter session command iam getting the error:
    SQL> ALTER SESSION set NLS_CHARACTERSE
    T =WE8MSWIN1252;
    ALTER SESSION set NLS_CHARACTERSET =WE8MSWIN1252
    ERROR at line 1:
    ORA-00922: missing or invalid
    i need to enter Arabic names in using the xml file.
    here i have two questions
    1)is it is possible to set character set at session level. because my client is not allowing to bounce the database. DB version is 10.2.0.4
    Right now my DB is in US7ascii
    2)is this "WE8MSWIN1252" set supports Arabic.
    Regards,
    Naresh

    You cannot change the characterset at the session level. If you want to store ARABIC characters in your database then you should change the characterset of your database to any other characterset that supports Arabic characters or to a Unicode characterset like UTF8 or AL32UTF8.
    If you try to insert Arabic characters with your present US7ASCII charancterset then the characters would be stored as junk.

  • Issue with data store at AM - specific session-level

    Hi,
    Iam using JDev 11.1.1.5.0
    Iam facing an issue while storing a value at AM session level in AMIMpls custom method.Following is the sample code for the same. Iam trying to invoke this method as methodcall activity in bounded taskflow.
    Just following the instructions specified at below URL
    http://andrejusb.blogspot.sg/2010/01/storingaccessing-objects-in-adf-bc.html
    public void setDeliveryVersionId(String deliveryVersion){
    Session session = this.getSession();
         //Session session = getDBTransaction.getSession();
    Hashtable userdata = session.getUserData();
    It would be great, if some one suggest on this.
    Thanks in advance,
    Samba.

    Sorry, I forgot to mention the actual issue. i.e getting null value for session variable.
    Thanks,
    Samba.

  • Required inventory level in Item Master

    Hi,
                        In the item master data in Inventory tab we have minimum inventory,maximum inventory and also required level.What is the function of that field.Because it is not filled automatically even after the stock level goes below minimum inventory level.Can somebody explain?
                                                                                    Regards,
                                                                                    Sekar

    Hi Sekar,
    The required inventory level in Item Master with the following function:
    In the Required (Purchase UoM) field, the system displays the quantity to keep the stock at the minimum level.
    If you select Release Stock Below Minimum Level in the Document Settings, the system issues alerts when the quantity goes below the minimum. The system does not let you enter stock documents when the stock reaches its maximum quantity.
    Thanks,
    Gordon

  • NLA Disabled. Still can't RDP; "requires Network Level Authentication"

    Had a server I could RDP onto without any issue running Hyper V.
    I removed the Hyper V role.
    I then rebooted and attempted to RDP onto the server and can't:
    The remote computer that you are trying to connect to requires Network Level Authentication (NLA), but your Windows domain controller cannot be contacted to perform NLA. If you are an administrator on the remote computer, you can disable NLA by using
    the options on the Remote tab of the System Properties dialog box.
    OK... Never needed before.
    I checked the network settings remotely with netsh and confirmed correct DC as DNS. So I'm scratching my head why Microsoft are lying to me?
    OK, so I check the NLA settings remotely, sure enough is enabled. So I disabled via remote registry, reboot the machine, confirm the registry is set to NLA disabled again remotely and attempt to connect.
    And... Same message.
    I can access any other of the 2012 R2 servers on my domain without issue. I can open AD or any other Domain tools from other servers with the same DC as the problem server as their primary DNS.
    How can I get that message when both the DC is contactable and NLA is disabled?
    How did removing a role cause this BS suddenly?

    Hi,
    Thank you for posting in Windows Server Forum.
    Which version of client RDP you are using?
    You can use RDP v8.1 for better performance.
    Apart from above, Use local admin account to log on to the virtual machine and set the DNS to point to your DC. Alternatively, assign the IP address of the DC/DNS under DNS servers of virtual network.
    Also when trying to remote desktop check the option “Allow connection from computers running any version of Remote desktop (less secure)” under system properties.
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • Deferred constraint at session level

    Can you define a specific constraint to be deferred at the session level?
    I know that all deferrable constraints can be set deferred at the[b] session level:
    ALTER SESSION SET CONSTRAINTS = DEFERRED;
    But what if I want a certain constraint only to be set deferred at the session level?
    thank u

    SET CONSTRAINT[S]

  • Session level auditing

    Hi everyone,
    I need oracle document ID for session-level auditing in oracle 10g.If you 've any steps to do auditing in session level,kindly post it.
    Thanks
    Jaya prataab J

    Do you really mean "audit" as in "information that gets written to the database audit trail"? Or do you mean to ask how to trace a session?
    If you really mean audit as in the SQL statement keyword (i.e. AUDIT SELECT ON emp ...), I'm rather unclear on how you would expect that sort of functionality to work. Auditing is necessarily configured long before the session even exists. And an audit trail that just had audit records from a few select sessions would seem rather pointless as you'd never know what changes were made in unaudited sessions.
    Justin
    Edited by: Justin Cave on Nov 18, 2008 6:22 PM

  • Change sysdate on session level

    Hi,
    I am using Oracle 10.2.0.4 database.
    My Application server is in USA and my database is in Germany. So we have 6 hours time difference between. So i need to set the sysdate to USA timings for a session who logs from USA.
    How to change the sysdate in session level.
    Regards,
    Nv
    Edited by: ORCLDB on Oct 24, 2011 2:33 PM

    Thanks for the help !.
    Is it possible some way by setting time_zone parameter. I tried as below
    SQL> alter session set time_zone='Europe/Zurich';
    Session altered.
    SQL> select sysdate from dual;
    SYSDATE
    24.10.11
    SQL> select to_char(sysdate,'dd-mm-yyyy hh24:mi:ss') from dual;
    TO_CHAR(SYSDATE,'DD
    24-10-2011 14:37:02
    SQL>  SELECT CURRENT_TIMESTAMP,SYSTIMESTAMP FROM DUAL;
    CURRENT_TIMESTAMP                                                           SYSTIMESTAMP
    24.10.11 11:08:01,281000 EUROPE/ZURICH                                      24.10.11 14:38:01,281000 +05:30But sysdate is not changing only current_timestamp changes.
    Regards,
    Nv

  • Availability check box at schedule line level and requirement class level

    Hi All
    What is the significance of availability check field at schedule line level and requirement type level.
    If I remove the check box at schedule line level, then there won't be any availability check carried out in the sales order, even though in requirement class it is checked. Is it for doing availability once the requirement is passed to MRP...
    In make to stock scenario, no availability check is active at schedule line level.
    scenario 1. stock is 0 in plant, when i place an order for 10 quantity, does system give any confirmed quantity on so and so date...or the confirmed quantity will be zero or as there is no availability check carried out, it confirms 10 quantity on customer requested delivery date and the time of creation of delivery, it gives an error message stating zero quantity is available. which one is correct in all the above.
    In make to order scenario, no availability check is active at schedule line level.
    order was created for 10 qty, as there is no availability check active, does the system give some date based on the lead times maintained in the material master or not?
    Regards
    Sree

    Hi sreekar
    The significance of availability check at schedule line level  is to determine weather availability check and TOR should be carried out for sales orders  or not. 
    If you remove check box at schedule line level , availability check and TOR wont be  carried out at sales order level.
    Coming to the scenario you said , make to stock , i think the availability check you are using is 01 make it 02. which is planned requirements. and stratergy group as 10. in MRP3 view in MMR. .
    as the availability check u have put 01 & stratergy group as 10 availability check doesnt carry
    coming to the scenario 2  , if the stock is 0 in plant and if you create a sales order, then the confirmed quantity should be 0 and that particular order will go to backorder processing.
    sometimes it  confirms the ordered quantity as the  confirmed qunatity, and it gives a confiremed delivery date on which the stock is confirmed , but that date is a tentative date.
    all these unconfirmed orders will go to backorders. once the qunatity is confirmed automatically , delivery date also will be done
    Coming to scenario 3 , when you create MTO order there will be availability check checked at the schedule line level. can you tell wat is the schedule line you are getting is it CP or ND?
    for schedule lines , ND - no availability check will be there , PD - availability check will be there
    Note: plz check 1st the availability check you have entered in MMR , if it  is 01 make it as 02. and then run these cycles.
    Reward points if useful and if Any queries let me know
    Regards
    Srinath
    Edited by: sri nath on Mar 21, 2008 7:53 PM

Maybe you are looking for

  • Where can I find a tutorial for Dreamweaver CS6?

    Where can I find a tutorial for Dreamweaver CS6?

  • F111 and Check Forms

    Hi Experts, I'm new to tcode F111, Payment Run for Payment Request.  Can you shed some light on how I could trace the check assigned to the clearing document generated in F111 and eventually printing this on a check form.  Usually, check information

  • DVD looks awful on Sony Bravia 26" LCD

    I've created many DVDs and always check them on a CRT TV. They always look great (given that they are shot on DV). However, I have purchased a Sony Bravia, and when I viewed the DVD it looked awful: smearing, blocky, traily, etc. Given that most of m

  • Single PC using Multiple Authorizations

    Why can a single computer use multiple authorizations for the Apple ID if I forget to deauthorize iTunes before reinstalling Windows?  Does the Windows version use the MAC address of the motherboard or a combination of the hard drive volume GUID, reg

  • Safari will not load any website

    Hi all Safari (7.0.2)  stopped working on my MacBook pro. It won't load any website, but Firefox works fine! I have tried resetting safari, but it did not help me. Just stops as shown below.