Clear session state for related application/page

I have an application item I want to clear and I am not sure what is
the correct session state process type to select
I am reading about the different state process but I am not sure.
I thought it was
Clear Cache for Items (ITEM,ITEM,ITEM) but this item has to be on a page.
What would be the appropriate one to select to clear an application item
Clear Cache For Applications (removes all session state for listed applications)
Clear Cache For Current Application (removes all session state for current application)
Clear Cache For Current Session (removes all state for current session)
Clear Cache for Items (ITEM,ITEM,ITEM)
Clear Cache for all Items on Pages (PageID,PageID,PageID)
Reset Preferences (remove all preferences for current user)
Set Preference to value of Item (PreferenceName:ITEM)
Set Preference to value of Item if item is not null (PreferenceName:ITEM)
Howard

How do I name the application item.. I tried the following.
itemName
:itemName
application:itemName
and neither of these 2 work. Did I miss anything.
Howard
Edited by: csphard on Oct 29, 2009 10:11 AM
Edited by: csphard on Oct 29, 2009 10:13 AM

Similar Messages

  • Unable to fetch session variables in my application page code behind

    hi,
    my env:  1  WFE  server which hosts the  central admin and my web appln,  1 sql server box  
    i am having a custom web part[ listviewbyquery web part]  which populates the site collection/ sub site's document library contents . also it reads some query string values and pushes these  values into  session variables.
    and i am having another application page in this application which reads this session variables and  perform some operation in a custom sql db. But i am unable to read these session variables on page load of this  application page.
    am unable to debug also. so, would like to know is there any way i can see, what values  are getting passed to this page and verify the session variables are accessed correctly.
    or
    is this  by design, that its not possible to read session variables in the application page ?
    if i am not having a visual studio env. to debug, how to test these  session variable  existence / to find the root cause of this issue.
    note: already configured session state in IIS , http  modules section. am using Page.Session["myvariable1"].tostring() to fetch the  session variables.
    help is appreciated!

    i have found out myself. i have put  page.response.write(mysessionvariables) in the code and deployed and tested in my env. and i was able to find out the reason and i have fixed it with proper validation check.

  • How to set custom master page for sharepoint application page ?

    Hello,
    I need to apply custom master page for the custom application page I created for login purpose.
    Can anyone please let me know how to apply master page for custom application page ?
    Note : I need to set custom master page for application page at web application level.
    thanks,
    Dipti Chhatrapati

    Hi Dipti,
    You can use the same reference as ASP.NET
    Example
    "<%@ Page Language="C#" masterpagefile="../_catalogs/masterpage/minimal.master" title="teste" inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" meta:webpartpageexpansion="full"
    meta:progid="SharePoint.WebPartPage.Document" %>"
    You can use SharePoint Designer 2010
    http://www.microsoft.com/download/en/details.aspx?id=16573 to make the reference from you aspx page to you custom masterpage.
    When you are editing a aspx page you can go to ribbon "Style" and attach the custom Masterpage.
    André Lage Microsoft SharePoint, CRM Consultant
    Blog:http://aaclage.blogspot.com
    Codeplex:http://spupload.codeplex.com/http://simplecamlsearch.codeplex.com/

  • How to save the session states for a tabular form WITHOUT using check boxs?

    Greeting guys,
    As you know that we can use collections to save the session states of a tabular forms, described in the how-to doc of manual tabular forms. However, what I am trying to do ( or have to do) is to provide a manual tabular form, and save the session states for validation, without using the check boxes. Because a user can put contents into some columns in a row without checking the corresponding checkbox, according to the requirements. So basically what I tried is to loop over all the rows and save Every entry into a collection. However, sometimes I got "no data found" error with unknown reasons.
    My current solution is to use the "dirty" Retry button that gets back the history, which IMO is not a good workabout. So, I'd appreciate if somebody can shed some light on a better solution, especially if it is close to the one in that how-to doc.
    Thanks in advance.
    Luc

    The following is the first collection solutin I've tried:
    htmldb_collection.create_or_truncate_collection('TEMP_TABLE');
    for i in 1..p_row_num loop -- Loop on the whole form rows
    if (htmldb_application.g_f01(i) is not null) or (htmldb_application.g_f05(i) <> 0)
    --If either of them has some input values, the row should be saved into the colleciton.
    then
    htmldb_collection.add_member(
    p_collection_name => 'TEMP_TABLE',
    p_c001 => htmldb_application.g_f01(i),
    p_c002 => htmldb_application.g_f03(i),
    p_c003 => htmldb_application.g_f04(i),
    p_c004 => htmldb_application.g_f05(i),
    p_c005 => htmldb_application.g_f06(i),
    p_c006 => htmldb_application.g_f08(i)
    end if;
    end loop;
    Some of columns have null values, but I don't think that's the reason. Because once I clicked all the check boxes, there would be no error no matter what values were in other columns.
    Another issue would be extract the values FROM the collection, which has been tried because I had problem to store the data into the collection. I used "decode" functions inside the SQL to build the tabular form. I am not sure whether it will be the same as a regular SQL for a tabular form, like the example in the How-to doc.
    Also I didn't use the checksum, for it is not an issue at the current stage. I am not sure whether that's the reason which caused the NO DATA FOUND error.

  • Can we hav call transaction and session method for an application

    can we hav call transaction and session method for an application ?if yes how?

    Hi ,
    You can.  If Call Transaction fails, a batch input session can be created.
    Check this example-
    Call the transaction. Messages from Call Transaction are stored in the
    internal table messtab 
      CALL TRANSACTION 'LT01' USING bdc_tab MODE 'N' UPDATE 'S'
          MESSAGES INTO messtab.
      IF sy-subrc = 0.                                                 
    Call transaction successfull,  get the number of the Transfer Order that
    was created                                                        
        LOOP AT messtab.                                               
          IF messtab-dynumb = '0104' AND messtab-msgnr = '016'.        
            w_transportorderno = messtab-msgv1.                        
          ENDIF.                                                       
        ENDLOOP.
      ELSE.
    Call transaction failed, create a batch input session instead.
        PERFORM open_group.                        
        PERFORM bdc_insert USING 'LT01'.           
        PERFORM close_group.                       
    ENDIF.
    Regards,
    Sookshma

  • Number field validation for all application pages

    Hi
    I am using apex version 4.0.
    I need to create number field validation for all application pages. if user press any character then display alert message. How it possible?
    Thanks

    >
    Hi Shiv,
    I am using apex version 4.0.
    I need to create number field validation for all application pages. if
    user press any character then display alert message. How it possible?This is an Apex question - point your browser here
    Oracle Application Express (APEX)
    HTH,
    Paul...

  • Can't Set Session State from the Login Page

    I have a dilema. On the standard login page I enter values in 2 fields namely, CAMPUS (Select List) and USERNAME (text field).
    After clicking on the login button I want to navigate to PAGE 1 and use the values of CAMPUS and USERNAME to filter data. I have created two APPLICATION Level items (A_USERNAME,A_CAMPUS) to which I assign the values of USERNAME and CAMPUS in two AFTER SUBMIT computations on the login page.
    When I arrive on PAGE 1 the session state values of A_USERNAME,A_CAMPUS are still both null therefore the query returns null. It seems that the login process does not issue a SUBMIT for session state to be saved. How do I save the values in session state on login?
    In the Login PROCESS, can I specify the Page 1 items to be set and the values to set them in a URL somewhere? Is it here?
    wwv_flow_custom_auth_std.login(
    P_UNAME => :P101_USERNAME,
    P_PASSWORD => :P101_PASSWORD,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||':1' <<========here?
    If so what is the correct syntax?
    If I revisit the login page a second time, a submit is issued and the values are set in session state.
    Anyone got any ideas??
    I tried creating a standard position button which issues a submit but this didn't work either.
    regards
    Paul J Platt

    Unfortunately your solution is causing problems with retrieving cookies that I try to get for the campus and username during a "Before Header Process" as well. The cookies are normally set on an "After Submit" process. When I return to the login page I get
    Error ERR-1029 Unable to store session info. session=10760914996048113736 item=8561939526127479
    ORA-02291: integrity constraint (FLOWS_010600.WWV_FLOW_DATA_FK) violated - parent key not found
    But if I turn the cookies off, it seems to work OK.
    regards
    Paul JP

  • Update Session State for only one item

    I have several hidden items (e.g. fund, object and unit) that hold values that are input parameters for a function that returns a SQL statement to a 'PL/SQL Function Body Returning SQL Query' region. These hidden items are set when a user selects a value from a pop-up tree. I want to dynamically set corresponding visible prompt text items (fund_prompt, object_prompt and unit_prompt) to a descriptive value that makes sense to the user. I've tried using a source type of SQL and placing the following SQL statement in the source
    SELECT child_prompt
    FROM fr_hierarchy_fund
    WHERE child = :FUND;
    When the value in one of the hidden items is changed, the visible prompt item displays "undefined" until the page is submitted.
    Is there a way to set the session state of an item without submitting the page?
    Thanks
    David

    David,
    Items, hidden or not, are not set in session state until the page is submitted. You might consider submitting the page with a javascript event on your popups. The request value can be used to control what processing you do or don't do on page submission and a branch right back to the page should allow you to show everything based on current item values.
    Scott

  • How can I get information of all the sessions opens for my application

    I have a record of all sessions ids created and what I need to know in certain circunstances if the session is still alive comparing by session id
    I hope you can help me.
    Thanks.....
    Edited by: Daniel Almaguer on 23-may-2012 11:28

    in weblogic console.. Go to Summary Of Deployments.. and select the Monitoring tab -> Web Application..
    This will give you these information for the particular application
    Context Root Sorted Ascending      State      Active Server Count      Source Information      Current Sessions      Maximum Sessions on Any Server      Total Sessions

  • How to keep up the session state values uncleared after page submit

    hi,
    i am using Application Express 4.0.2.00.07
    and 11g
    i have created a tabular form manually useing apex_items.
    select apex_item.checkbox(1,null) as "check",
           APEX_ITEM.DISPLAY_AND_SAVE(4,line_item_no) as "Line Item No",
           APEX_ITEM.DISPLAY_AND_SAVE(5,line_item) as "line item",
           APEX_ITEM.text(6,module) as "Modulle",
           rstag as "RS tag",
           *apex_item.text(2,null) as "FS Name"*,      --"fsname" and "fstag" are not columns of this table(pli)
           *apex_item.text(3,null) as "FS Tag"*
    from pli where pid = :P17_PID
    order by line_item_no deschere on submit, data gets inserted into the another table(fli),(whixh contains all these columns)
    after the page is submitted it returns to same page,
    i want the apex_items's text fields to retain the submitted values after returning to the same page
    can you tell me how to achieve this.
    thanks,
    Little Foot

    hi,
    can you help me to use this collections,
    i have created a collection processdeclare 
      la_cks wwv_flow_global.vc_arr2;
    begin
      htmldb_collection.create_or_truncate_collection('UPDATEE');
      htmldb_collection.create_or_truncate_collection('INSERTT');
      for i in 1..htmldb_application.g_f01.count
      loop
        if htmldb_application.g_f01(i) is not null then
          htmldb_collection.add_member(
              p_collection_name => 'UPDATEE',
              p_c001            => htmldb_application.g_f01(i),
              p_c002            => htmldb_application.g_f02(i),
              p_c003            => htmldb_application.g_f03(i),
              p_c004            => htmldb_application.g_f04(i),
              p_c005            => htmldb_application.g_f06(i),
              p_c006            => htmldb_application.g_f07(i),
              p_c007            => htmldb_application.g_f08(i),
              p_c008            => htmldb_application.g_f09(i));
        else
          htmldb_collection.add_member(
              p_collection_name => 'INSERTT',
              p_c001            => htmldb_application.g_f01(i),
              p_c002            => htmldb_application.g_f02(i),
              p_c003            => htmldb_application.g_f03(i),
              p_c004            => htmldb_application.g_f04(i),
              p_c005            => htmldb_application.g_f06(i),
              p_c006            => htmldb_application.g_f07(i),
              p_c007            => htmldb_application.g_f08(i),
              p_c008            => htmldb_application.g_f09(i));
        end if;
      end loop;
    end;            then when creating a report on collections i am unable to proceed,
    in sql report i used select apex_item.checkbox(1,null) as "check",
           APEX_ITEM.DISPLAY_AND_SAVE(4,line_item_no) as "Line Item No",
           APEX_ITEM.DISPLAY_AND_SAVE(5,line_item) as "line item",
           APEX_ITEM.text(6,module) as "Modulle",
           nvl(rstag,APEX_ITEM.text(7,null)) as "RS tag",
           apex_item.text(2,'klklk',null,null,' readonly="readonly" ') as "FS Name",
           apex_item.text(3,null) as "FS Tag"
          from htmldb_collections
    where collection_name = 'UPDATEE'says rstag invalid indentifier...,
    can you tell me how to use this collections to achieve my purpose.
    i tried http://www.oracle.com/technetwork/developer-tools/apex/tabular-form-090805.html
    so i need to use collections in this way only...!
    can i make collections to just collect values from two columns and then put those values to the respective rows in their columns...!!!
    guide me to achieve my requirement.
    Thanks,
    Little Foot
    Edited by: Little Foot on May 10, 2011 5:00 AM

  • Error in Session ID for Web application

    Hi,
    I have a question about the Error Message "Error in Session Id".
    This error shows up in the browser window when I try to run a
    form on the Web. I have checked the web server name and port in
    the html files, but everything seems to be correct. I can
    connect to the database as well. So I don4t know what this error
    reflect!
    Any suggestions are welcomed!

    hi,
    i am getting the same problem as i had made changes and put it like
    IE50=native
    so with that the same error i am getting
    but for IE50=JInitiator
    i got my application working but
    i want my application not to use JInitiator. so, IE50=native is must in the file formsweb.cfg
    if u get any help abt running forms 6i without Jinitiator plz reply
    waiting for reply.
    Ravi Suthar
    Jyoti Ltd.
    India.

  • How to configure a session timeout for DynPro applications?

    Hello,
    1. Where can I configure the session timeout of the DynPro applications?
    2. Can I configure a session timeout per application and how do I do that?

    Hello Heidi,
    I am not familiar with this property:
    1. Where can I configure it?
    2. Does it apply to every application at the portal?
    3. What if I would like to configure just one application?
    By the way, I have noticed that the DynPro application has an expirationTime property. The documentation says this:
    Specifies the lifetime in seconds of a Web application on the server before the Web application is terminated by the server. The value of the DefaultExpirationTime parameter of the system configuration is used as the default value.
    My question is if someone tried to use this property?
    Message was edited by: Roy Cohen

  • How to save session state for a text item

    hi @averyone,
    i designed in interactive report with one apex_item.text field, let's name it "count"
    normally the report has more then one pages.
    the report should work like a kind of a shopcart.
    the user enters some data into "count" and moves on to the next page(s) enters some more date and so on.
    at the end he/she will press an button to save the data into his shopcart.
    now the problem:
    whenever the page is changed, all data in "count" is lost because the column has no sesseion state.
    any suggestions how to solve this issue without saviing the date in the database everytime the page ist changed?
    thanks in advance
    peter

    Simon,
    i solved the issue using an existing table, which should act quite similar to collections:
    at user request i store all entries in this table & a the end a list of selected rows is presented to the end-user.
    thanks 4 ur assistance
    p.s have a look at the apex api "APEX_ITEM.DISPLAY_AND_SAVE" ?

  • Mapviewer javabean, sessions, state and related

    Hi,
    i am a scratching my head a little bit regarding the way I use MapViewer.
    We are building a web-app using a mapviewer for rendering the map, doing queries etc. We are using AJAX for user-interaction, including the map window, identifying objects, searches etc.
    I have currently implemented a singleton class which holds one instance of MapViewer. This instance recieves parameters from the session, and then executes run();
    However, since the MapViewer bean is stateful, and I want to make use of identify() etc, I realize that this is probably a wrong way of doing it ?
    Would it me more appropriate to alloc a new MapViewer instance for each session ? And would this be a very memory-consuming way ?
    kind regards,
    Oyvind

    Thanks, Andrejus.
    I tried to do some memorytesting, with results:
    100 instances:
    com.powel.mapviewer.MapViewerFactory produced [Ljava.lang.Object; which took 1403184 bytes
    1000 instances:
    com.powel.mapviewer.MapViewerFactory produced [Ljava.lang.Object; which took 14086016 bytes
    10000 instances:
    Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
    Seems like this is a memory-eating way of doing it, so I think I will try to create a pool of mapviewers instead.
    Oracle Maps is an interesting feature, but in our case I believe it will complicate things (we dont want tiles, and we use WMS background etc)
    Regards,
    Oyvind                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Losing session state after error page

    Hi there,
    I'm kinda new to all this so please bear with me.
    I've created a little app in HTML DB using the Oracle 10g XE database. The app is now in production and working ok. I do however have one issue that I am unable to resolve. The problem is this.
    If the user encounters an untrapped error on a page, e.g. they type in more data than the database field allows, then an error message will be displayed on a separate page, with an OK button. When they click the OK button, they are taken back to the page they came from, but any data they had typed in is gone. As you can imaging this is quite frustrating for the user. I know that this feature does work correctly (i.e. your data is retained), as I've seen it working on one of the demo applications. However, I'm at a loss at to what controls this behavior. Does anyone have any idea what setting I might need to change to get this working?
    Additional Info: When I call this page initially, I do clear session state for the page I am going to (using the f?p syntax), as I want the page to be blank when the user has clicked on the create new record button. Perhaps this in causing the session state to be lost when I navigate back there after being on the error page. If this is the case is there some way I can stop it from clearing session state for the page it is returning from the error page?
    Regards
    Joe Kennedy

    Scott,
    I have created the application on online as you suggested. I was unable to login to the application with my username and password so I deleted the login page and security scheme and accepted the default login page. The really wierd thing is it works as expected, i.e. when I get the error and click ok, the data is still on the page as I entered it. That means there must be something wrong with my setup on my PC, but I don't know what. I will try dropping and recreating the appication from scratch to see if that will fix it. Could it have something to do with the security scheme? That is the only thing I changed with the version I created online.
    Thanks
    Joe.

Maybe you are looking for

  • Series recorded don't show in Manage Series Recordings

    Well I thought the new Cisco DVR would be similar (but better) than the Motorola, but although it seems to be working all right, and I have recorded lots of series, there is nothing listed in the Manage Series Recordings list, so I can't change prior

  • AIR 3.6 and MXML Applications ?

    My goal here is to compile an mxml application in FB 4.7 in order to have retina quality display. In order to do so, I followed the instructions to overlay the air sdk in FB 4.7 with the new air 3.6 sdk (AIR 3.6 SDK with ActionScript Compiler 2.0). I

  • PS cs6 not allowing me to turn on open gl?

    I have a intel hd graphics card with the newest driver and according to Intel it is supported for photoshop 3d.  I cannot get it to work though no matter what setting i set.

  • Bug? Mouse wheel doesn't work on Firefox and Chrome when added an application skin

    I added a customized skin to make the background of Flex to transparent. The skin is created by the "new file wizard" and only changed the "backgroundRect" 's alpha to "0". It works with no problem in IE8.0.6001 and Opera11.6 but doesn't respond to a

  • Suddenly, Slow Browsing

    I've had some issues lately. Right now though I'm trying to isolate a problem I'm having browsing. Sometimes it just takes forever for pages to load and it hasn't been that way before. I replaced my router with a Belkin Wireless N and I've spoken to