Simple jsp to show if session state is being correctly replicated ?

          Hello,
          I am making a simple jsp to show if session state is being correctly replicated.
          I just remembered seeing one somewhere before.
          It showed the server-name, and the number of request so far in the session. And
          maybe a nice bea logo.
          Does anyone know where such a thing might be available ?
          thanks!
          JM
          

          Hi ,
          checkout bea samples there is such jsp in cluster/sessionrep or something like
          this /bea_home/samples/sever...
          "Marmelstein" <[email protected]> wrote:
          >
          >Hello,
          >I am making a simple jsp to show if session state is being correctly
          >replicated.
          >I just remembered seeing one somewhere before.
          >It showed the server-name, and the number of request so far in the session.
          >And
          >maybe a nice bea logo.
          >Does anyone know where such a thing might be available ?
          >thanks!
          >JM
          

Similar Messages

  • A jsp which shows that session state is replicated ?

              Hello,
              I am making a simple jsp to show if session state is being correctly replicated.
              I just remembered seeing one somewhere before.
              It showed the server-name, and the number of request so far in the session. And
              maybe a nice bea logo.
              Does anyone know where such a thing might be available ?
              thanks!
              JM
              

              I thought I included the attachment?!
              "Vijay" <[email protected]> wrote:
              >
              >Hope this helps...
              >
              >G'luck.
              >Vijay
              >
              >"Marmelstein" <[email protected]> wrote:
              >>
              >>Hello,
              >>I am making a simple jsp to show if session state is being correctly
              >>replicated.
              >>I just remembered seeing one somewhere before.
              >>It showed the server-name, and the number of request so far in the session.
              >>And
              >>maybe a nice bea logo.
              >>Does anyone know where such a thing might be available ?
              >>thanks!
              >>JM
              >
              

  • Htmldb_Get() not updating session state?

    Thankfully, I solved this problem myself before posting this, but I still have questions about why I ran into the problem in the first place.
    Alright, I have a javascript controlled interface on an ApEx page that uses htmldb_Get() for retrieving the current state of a row in the database and for submitting the data back to a page process to update the database row. I've checked my values from the javascript function that saves the data and the strings do contain the updated text from the interface, but when my page process fires off the strings have reverted to what was in the session state from the earlier AJAX request when the interface was loaded.
    * I've checked the session state and the variables in question are reverted, but I noticed that the item statuses are listed as "Updated".
    * I've also tested this process by passing the request string and page items in the URL and the process functions correctly.
    * I've double checked the item definitions to see if the items were being overwritten (they weren't).
    * I've checked the item types to make sure that none were "protected" (they weren't).
    * I haven't found any error messages in logs within ApEx.
    At this point I noticed that the AJAX requests to load the interface were showing up in the "Recent Page Views" report, but the save requests were not. For no particular reason I decided to switch from using the request string in the conditional for the page process and use a page item to control the mode as so...
    WAS:
    var get = new htmldb_Get(null,$x('pFlowId').value,'save_asset_tracking_info',11);
    NOW:
    var get = new htmldb_Get(null,$x('pFlowId').value,'',11);
    get.add('P11_FORM_MODE','save_asset_tracking_info');
    ...and magically the page items in the session state are being updated and all is well. There are few things more frustrating than spending hours debugging a process, then fixing it with an action that you are completely convinced won't change a thing.
    This make no sense to me and I'm hoping someone can explain it or at least point me in the right direction.
    Thanks in advance,
    Jason

    Apologies if I skipped a few details in my first post...
    I haven't included much of my source code because I don't believe it's the key to this issue. If you disagree, I will post the source code for your reference.
    On page 10 of my application, I have a floating div interface that appears in front of the page content. This div is initially empty, but I use JavaScript to make an AJAX call to page 11, strip out a specific region using the get.get() function. On the floating interface, there is a "save" button that fires off another JavaScript function that uses htmldb_Get() and get.add() to post all 21 of the items from the floating interface back to a page process on page 11. The "save" page process is at process point "on load - before header" and is extremely simple -- "if ID found then update record, else insert record".
    The problem I had was that after the "save" button was pressed, all of the items sent via AJAX to the page process were always identical to the initial values from when page 11 was rendered and the floating div interface was populated. This seemed like some sort of quirk or issue with the session state cache overwriting the values that were being sent via AJAX. As I said before, I checked the values in JavaScript immediately before the AJAX "save" submission and everything was kosher, but the page process never got those updated values.
    I managed to eliminate this "symptom" by simply...
    1. Setting the htmldb_Get() request string to null ("")
    2. Adding one more get.add() call for P11_FORM_MODE
    3. Changing the condition on which the page process was fired from the request string to the page item
    All of the other get.add() calls remained the same as did the PL/SQL in the page process.
    Thanks,
    Jason

  • Nothing set in session state after upgrade to 4.0.2

    hi -- I just patched up to 4.0.2 from 4.0.1. When I run my applications (any of them) nothing is showing
    in session state -- application items or page items. I don't think it's just an issue w/ the "session"
    reporting functionality because I'm also getting errors that indicate that values are not being set.
    Unfortunately, I did not export applications before the upgrade, or back up the database (though we
    have one from last night...).
    Help? Just want my apps working again!
    Thanks,
    Carol

    hi -- Well, you're on target:
    - I am using custom authentication (and apps that don't use it seem to work fine) - & -
    - The applications in question work fine when run directly.... that is, not via the developer.
    Unfortunately, I'm still having the problem after applying the patch. Actually, just once it did
    work... this was after I first applied the patch: I completely rebooted my machine and when I
    first went into the developer and ran it w/o doing anything else first, I didn't have the problem. Every
    time thereafter I have had the problem.... including after rebooting again.
    I have no reason to suspect the patch didn't work... very simple patch, no errors.
    For what it's worth... I can't say that I entirely tracked everything in the thread you pointed me to
    about sessions getting mixed up, but it does look like the session ids for developer vs the applications
    I'm running in developer are consistent throughout (at least, based on what I see in the URL). Is it
    normal that when I run an app via the builder, that the session_id that shows up on the login page
    is the developer session_id? A new session_id then shows when at the home page of the application...
    Any other ideas? Absolutely nothing is showing up in session state, anywhere. I'm very frustrated....
    I'm almost at the point where I want to use our latest database backup and revert back to 4.0.1. It doesn't
    have what I (apparently) need to get master/details working as I need them to, but at least I can proceed with
    other development!
    Hopefully there's an easier solution.
    Thanks,
    Carol

  • Session state consistency - how does APEX keep session state across pages

    I would like to know how the APEX develper tool keeps session state from being overwritten across mutiltple pages in the same Session. Because this is difficult to explain I'll use an example from withing the APEX dev tool
    For Example:
    1. I navigate to the page (4150) thet allows me to edit my Page 880 [Window 1]
    2. I now do a Cntrl^N to Open a New Window in the same session (this opens on the same Page 880 in the new window) [Window 2].
    3. In Window 1, I click an item to update ie I want to put a comment on the Unconditional Branch so click this to go to the Update page. I see the F4000_P4313_ID is passed in the URL (ie the context, UID of the Branch).
    4. In Window 2, I change the page to 881 - ie this is overwriting my Session State variables for page 880 with page 881.
    5. I click an item in Page 881 to update ie I want to put a comment on the Unconditional Branch so click this to go to the Update page. I see the F4000_P4313_ID is passed in the URL (ie the context, teh UID of the Branch).
    6. In Window 1 (the Page 880), I add a comment to the Branch and 'Apply' changes. On returning to the Page the context has changed from 880 to 881 (as expected as Window 2 had overwritten the session state). Slightly confusing for the user as they did go from Page 880 not 881 but ok
    What intrigues me is how the Edit Branch page applied the update to the correct branch [good !]. Why weren't the Branch Session state variables (ie the Branch for Page 880) overwritten with the Branch Session state variables for the Branch from Page 881 ?
    Both navigations go to the same Page passing the UID of the branch, hence I would of thought the last navigation is the one that would be persisting (ie from Page 881 Window) ?
    Any tips on preventing users updating the wrong record because of the Session State being overwritten would be most welcome.
    Look forward to hearing from you.

    Let me take a shot at explaining this.
    Session state is stored in Oracle database tables. When a APEX page is rendered, those tables are read and the HTML is sent to the browser. When that page is submitted, all the HTML form inputs on the page are saved back into session state over-writing any existing values for that session
    So, in your example, since Page 4313 has the hidden page item (the "GUID" of the branch), it doesn't matter if any other window has the same page open with some other GUID. Each page is a self-contained "unit" which has all the information necessary to properly process that page when it is submitted.
    Think of it this way...in your example, when you have windows 1 and 2 open (window 2 was opened after window 1), go back to Window 1 and click the browser's Reload/Refresh button. Instead of refreshing the same page (branch 9000000), you will find that it will load branch 8000000! This is because session state is read from the database and when Window 2 was rendered, it has set F4000_P4313_ID in session state to 8000000.
    Hope this helps.

  • Session State Protection invalid Checksum errors show valid checksum

    Hi,
    I am investigating Session Sate Prtection to let me make my appications more secure.
    I have created a simple Report / Form pair that allows me to open an item for edditing.
    I have set the Application to Session State Protection 'Enabled' and and my form page to Page Access Prtection 'Arguments Must Have Checksum'.
    From my report page I click on the edit icon for a row and I get the edit page with the url:
    f?p=126:3:7115846938209895::::P3_WORK_PACKAGE_ID:1179&cs=3CC0C97D3A8B114D2E40EDF158C0AECFB
    If I then manually manipulate this url, to change my P3_WORK_PACKAGE_ID from 1179 to 1180, to:
    f?p=126:3:7115846938209895::::P3_WORK_PACKAGE_ID:1180&cs=3CC0C97D3A8B114D2E40EDF158C0AECFB
    I get an error of:
    Error The checksum computed on the request, clear cache, argument names, and argument values (P3_WORK_PACKAGE_ID1180 [01BE394775DB7B5A861BEA77B6637A46] ) did not match the checksum passed into the show procedure (CC0C97D3A8B114D2E40EDF158C0AECFB).
    All well and good, but it tells me what the checksum should be. I can now update the url to use the displayed checksum to make the url:
    f?p=126:3:7115846938209895::::P3_WORK_PACKAGE_ID:1180&cs=301BE394775DB7B5A861BEA77B6637A46
    the form opens for P3_WORK_PACKAGE_ID 1180.
    How do I stop the error message telling my how to bypass the checksum security?
    Thanks,
    Martin

    I am not sure but maybe this detailed message is coming if you are logged in to Apex and otherwise it is showing more general error message with no checksum?

  • Why can't there be a simple utility that shows me which device connected to my Airport is using how much of the bandwidth in a simple graphical or stats format without requiring me to be a level 10 Black Belt or Chuck Norris' paternal tooth fairy?

    Why can't there be a simple utility that shows me which device connected to my Airport is using how much of the bandwidth in a simple graphical or stats format without requiring me to be a level 10 Black Belt or Chuck Norris' paternal tooth fairy?
    I need to see who is consuming the most bandwidth and limit that user/device. A very simple and dare I say it, legal, moral, and normal wish.

    They are not overloading the Airport. They are overwhelming the capacity of your Internet connection.
    No. It's not "shared equally". That's not how packet switched networks function.
    Most consumer grade routers do not have the ability to restrict bandwidth use on a per machine basis. You need relatively expensive (but readily available) equipment to do that.
    How many people are on the network? It can't be that hard to hunt them down.

  • Feature Request - show substitution string values in session state display

    Hi!
    I would like to request that in addition to page and application items and session state values that the value of substitution string values be shown. Another option would be to have a separate link (like session) to display them. This would allow developers to see all of the available substitution values and how they change across pages, etc.
    Thanks!
    Dave Venus

    Dave - What are some examples of values that you are not seeing in the session state report that would be useful?
    Scott

  • Corrupt Session State? - Apex form posts text value as Null

    Recently I've discovered an issue with our Apex installation in which any value chosen as a source for a text field ends up being posted as a null to the database.
    We are running APEX version 3.2 within an Oracle 10.2.0.4 database using the Oracle HTTP Server from the 10g companion disk.
    At first glance, everything appears to function as expected; I have created a simple table called "oracle_sr" with 2 columns both not null:
    SQL> desc capacity.oracle_sr
    Name Null? Type
    ORACLE_SR_ID NOT NULL NUMBER
    TIMESTAMP NOT NULL DATE
    Within APEX the form wizard was used to create a form on this table.
    After executing the pages and entering a value for the timestamp field I can create records without issue.
    The issue arises when I choose a source value for the timestamp field.
    Any of the source options result in the same error (including a static value) so I will focus on the SQL Query for the source as:
    select sysdate from dual;
    This should substitute the system date within the timestamp text field when the page is executed.
    As expected, the value appears in the text box but when I submit the form to create the record I receive the error:
    ORA-01400: cannot insert NULL into ("CAPACITY"."ORACLE_SR"."TIMESTAMP")
    I have been working with APEX for quite some time and have successfully used this technique in many applications but just started to see this error over the past few days. What is particularly odd about this message is that default "not null" validations created by the form wizard sees the timestamp filed as having a value. The session state information included below is reporting a value yet the database is throwing the ORA-01400.
    Has anyone experienced a similar issue? I've spent a fair amount of time trying to research this issue but cannot seem to find any similar posts.
    I have included the debug output from my test page, from what I can see, there does seem to be a value associated with the timestamp filed:
    0.00: A C C E P T: Request="CREATE"
    0.00: Metadata: Fetch application definition and shortcuts
    0.00: NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=en-us
    0.00: alter session set nls_language="AMERICAN"
    0.00: alter session set nls_territory="AMERICA"
    0.00: NLS: CSV charset=WE8MSWIN1252
    0.00: ...NLS: Set Decimal separator="."
    0.00: ...NLS: Set NLS Group separator=","
    0.00: ...NLS: Set date format="DD-MON-RR"
    0.01: ...Setting session time_zone to -06:00
    0.01: Setting NLS_DATE_FORMAT to application date format: DD-MON-RR
    0.01: ...NLS: Set date format="DD-MON-RR"
    0.01: Fetch session state from database
    0.01: ...Check session 2303701116904676 owner
    0.01: Setting NLS_DATE_FORMAT to application date format: DD-MON-RR
    0.02: ...NLS: Set date format="DD-MON-RR"
    0.02: ...Check for session expiration:
    0.02: ...Metadata: Fetch Page, Computation, Process, and Branch
    0.02: Session: Fetch session header information
    0.02: ...Metadata: Fetch page attributes for application 109, page 50
    0.02: ...Validate item page affinity.
    0.02: ...Validate hidden_protected items.
    0.03: ...Check authorization security schemes
    0.03: Session State: Save form items and p_arg_values
    0.03: *...Session State: Save Item "P50_ORACLE_SR_ID" newValue="" "escape_on_input="N"*0.03: *...Session State: Save Item "P50_TIMESTAMP" newValue="26-MAY-09" "escape_on_input="N"*
    0.03: ...Session State: Save "P0_CURRENT_PERSONNEL_ID" - saving same value: "1"
    0.03: ...Session State: Save "P0_OFFSET" - saving same value: "0"
    0.03: ...Session State: Save "P0_ACTIVE_WEEK" - saving same value: "24-MAY-09"
    0.03: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
    0.03: Branch point: BEFORE_COMPUTATION
    0.03: Computation point: AFTER_SUBMIT
    0.03: Tabs: Perform Branching for Tab Requests
    0.03: Branch point: BEFORE_VALIDATION
    0.03: Perform validations:
    0.03: ...Item Not Null Validation: P50_TIMESTAMP
    0.04: Branch point: BEFORE_PROCESSING
    0.04: Processing point: AFTER_SUBMIT
    0.04: ...Process "Get PK": PLSQL (AFTER_SUBMIT) declare function get_pk return varchar2 is begin for c1 in (select ORACLE_SR_SEQ.nextval next_val from dual) loop return c1.next_val; end loop; end; begin :P50_ORACLE_SR_ID := get_pk; end;
    0.04: ...*Session State: Saved Item "P50_ORACLE_SR_ID" New Value="6"*
    0.04: ...Process "Process Row of ORACLE_SR": DML_PROCESS_ROW (AFTER_SUBMIT) #OWNER#:ORACLE_SR:P50_ORACLE_SR_ID:ORACLE_SR_ID|IUD
    0.04: Show ERROR page...
    0.04: Performing rollback...
    ORA-01400: cannot insert NULL into ("CAPACITY"."ORACLE_SR"."TIMESTAMP")
    Unable to process row of table ORACLE_SR.
    Return to application.
    Any thoughts would be appreciated.
    Thank you,
    Justin.

    If you changed the Source Type of an item from Database Column to something else, then it cannot participate in the Automated Row Fetch/Automatic Row Processing (DML) choreography. You should leave the Source Type as it was and change the item's Default Value to populate it when the ARF process fetches a null for the column.
    Scott

  • Simple jsp example of using BI Bean in Myeclipse

    hi
    anyone can show me a simple jsp example of using BI Bean in Myeclipse
    or how to import BI Bean into Myeclipse
    I would so thankful for who can answer me.. please its urgent
    thanks

    Sorry, I was not very clear in my last message.
    I need all my webservices to share the same bean during one user session.
    Then, if a page calls 2 different web services, only 1 database connection is made instead of 2. And if the user opens other pages which call other webservices, they will use the connection kept into the session bean.
    Anyway, I tried to do like it is said in your website but I can not build my project. I have an error : java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/.../build/web/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. I do not understand because I have downloaded the jax-ws 2.1.1 api and no other libraries are imported in my project. :-(
    I wonder if it is not related to netbeans...

  • Can't us Oracle API on the simple JSP pages added to the portlet........

    Hi,
    I added a jsp page in the portlet which is not a standard page like the default show mode pages. I have added some code which actually access a resource inside the porltet.
    " img src="<%= UrlUtils.constructResourceURL (pReq, HttpPortletRendererUtil .absoluteLink(request, "icon.png")) %> "
    For that you have to add the following two imports in the code
    mport="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil"
    import="oracle.portal.provider.v2.url.UrlUtils"
    This library is available with the JDeveloper and I dont get any error while compiling and even deploying the portlet war file on the applcation server. Strangely the same piece of code shows the image perfectly for the default show page of the portlet but it generates 500 Internal server error for the other simple jsp page I added, which suggests that the server is unable to find the function:
    500 Internal Server Error
    java.lang.NullPointerException
         at oracle.portal.provider.v2.url.UrlUtils.constructResourceURL(Unknown Source)
         at _htdocs._elogbooksubsystems._DAQ._jspService(_DAQ.java:54)
         [SRC:/htdocs/elogbooksubsystems/DAQ.jsp:15]
         at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    Can anybody help? Is this possible to use oracle api in the pages which are though added to the portlet but not the standard show modes pages?
    Thanking you in anticipation
    Regards,
    Omer Alvi
    Message was edited by:
    user574208
    Message was edited by:
    user574208

    Thanks Nrintala. I tried to work with multipage portlet example provided in the jpdk. In fact I created another portlet with two pages and copied the code of the two pages of the multipage portlet. (Off course I took care of the names and stuff). Later I modified the provider.xml by defining "next_page" parameter. When I viewed my portlet, first page appeared fine but when I click on the link which should show the second page, I got an error which says.
    Error:      Error occurred while rendering portlet - see provider log file for details.
    Do you think I have missed something? I am depoying my war file on the stand alone OC4J and some how I have not been able to find the application.log file in my application inside the application_deployments of the J2EE_HOME. I have pasted the provider.xml file and I would be grateful if you can help.
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <session>false</session>
    <passAllUrlParams>true</passAllUrlParams>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>1</id>
    <name>mulitpage</name>
    <title>testing multi page</title>
    <description>My Portlet Description</description>
    <timeout>40</timeout>
    <showEditToPublic>false</showEditToPublic>
    <hasAbout>false</hasAbout>
    <showEdit>false</showEdit>
    <hasHelp>false</hasHelp>
    <showEditDefault>false</showEditDefault>
    <showDetails>false</showDetails>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <contentType>text/html</contentType>
    <showPage>/htdocs/mulitpage/first.jsp</showPage>
    <pageParameterName>next_page</pageParameterName>
    </renderer>
    </portlet>
    </provider>
    Best regards,
    Omer
    Message was edited by:
    user574208
    Message was edited by:
    user574208

  • How to tell if a user is issuing 'alter session statements'

    When I run 'alter session' from sqlplus in my schema, this does not get parsed and go to v$sql or show up in v$open_cursor. I have a user that is running queries from informatica. He says he is passing alter session statements through informatica, I want to see if they actually get there. The person is not real versed in oracle and I don't know informatica.
    i cant turn on trace cause he connects and disconnects and this would run immediately, I am not in a position to turn on system level tracing, add a trigger, or turn on auditing (not allowed).
    anyway to tell from a data dictionary view or something like that if these were issued by a given session? The queries run for a few minutes, so I have a bit before his session disconnects to query the data. I can't get him to change his code to stay connected. Is there a view that shows parameter changes for a given session?
    oracle: 10.2.0.5
    4 alter session commands are:
    Alter session set sort_area_size=999999999;
    Alter session set hash_area_size=999999999;
    Alter session set db_file_multiblock_read_count = 128;
    alter session enable parallel dml;
    Edited by: Guess2 on Jul 17, 2012 12:49 PM

    i cant turn on trace cause he connects and disconnects and this would run immediately, I am not in a position to turn on system level tracing, add a trigger, or turn on auditing (not allowed). If Informatica connects to Oracle via network, capturing TCP/IP traffic and mining in it may be your last resort.
    you can get session's PDML status from
    select pdml_status from v$session;
    i cant turn on trace cause he connects and disconnects and this would run immediatelythis contradicts to your following statement
    The queries run for a few minutes, so I have a bit before his session disconnects to query the data.
    I can't get him to change his code to stay connected. Informatica should have debug. Ask him if he can go step by step.
    Edited by: user11181920 on Jul 17, 2012 5:53 PM

  • Session state is not being passed properly to another page

    Hello Gurus,
    I have a multi-page application which authenticates using a simple authentication page 101. Right now I have a generic authentication scheme which always returns true (Session Verify Function= return true; I will integrate LDAP later.) It works fine. The app remembers the username from one page to the next (popup pages mainly).
    My issue is that, after exporting the application and re-importing into a new workspace, the user/session state is no longer being preserved from page to page. It prompts for a login every new page that is opened (the popups). This ruins the flow and functionality of the app.
    I've checked every setting (I think) and cannot find any differences between the two workspaces or apps. Any ideas why this would work in one workspace and not the other?
    TIA!
    Jonathan
    I should also indicate that the issue seems to be specifically in calling "callmypopup" function. For some reason it isn't passing the session id properly to the popup page, where it did fine in the other workspace. function text:
    function callMyPopup (sourceItem, popuppagenum, targetItem, appid, appsession) {
    //opens popup pg and passes value in sourceItem to targetItem
    //sourceitem=calling text box, targetItem=text box in popup page
    var minlength = 3;
    if (CheckLength(sourceItem, minlength))
    var formVal1 = document.getElementById(sourceItem).value.toUpperCase();
    var url;
    url = 'f?p=' + appid + ':' + popuppagenum + ':' + appsession + '::::' + targetItem + ':' + formVal1;
    w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");
    if (w.opener == null)
    w.opener = self;
    w.focus();
    else {alert('Please enter at least ' + minlength + ' characters in your search.');}
    Edited by: austindurant on Sep 5, 2008 7:02 AM
    Edited by: austindurant on Sep 5, 2008 7:46 AM

    It looks like your session id is not correctly passed to your popup page. Try using:
    javascript:popUp2('f?p=&amp;APP_ID.:1:&amp;SESSION.:::::', 600, 700);
    instead, which does the same thing. Put your parameters for the page items there if required.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Problem with application item and session state

    Okay, let's see if I can explain this problem coherently.
    I have a small app (one page), with an application item, F_WHERE_CLAUSE.
    This page has three regions in which there are items that the users can populate for search conditions. A couple of these items are "select list with submit" (I still need to upgrade to the AJAX method, I know). There is another region which has one hidden field, called P1_WHERE_CLAUSE. This field is defined to "Always, replacing any value in session state..." with source type of "Item (application or page.....", and a source value of F_WHERE_CLAUSE with no default value.
    I have a button called "Search" which submits the page and fires a PL/SQL process which builds a where condition based upon the other page items and stores the value to the application item F_WHERE_CLAUSE (correctly).
    For testing, I've made the P1_WHERE_CLAUSE field visible so that I can see what's going on. I've also clicked the debug and session buttons to help trace this. After I click the "Search" button and the page submits, debug shows:
    0.02: ...Session State: Save "P1_WHERE_CLAUSE" - saving same value: "1=1"
    followed later by:
    0.05: ...Session State: Saved Item "F_WHERE_CLAUSE" New Value="lower(primary_class) = 'rock' and country = 'Spain'"
    The field P1_WHERE_CLAUSE displays with the correct search criteria as signified by F_WHERE_CLAUSE above. However, If I click the "session" button to view the session state values, P1_WHERE_CLAUSE shows up as:
    P1_WHERE_CLAUSE Textarea    1=1    U while F_WHERE_CLAUSE displays the correct value still.
    The reason this "problem" came up, is that this page also has three SQL report regions which use &P1_WHERE_CLAUSE. for the where condition. While they display the correct results on-screen, each report region also has the "Export to csv" enabled, and the export seems to be using the "1=1" condition (from the "session" window) instead of the search criteria that the on-screen region is using (F_WHERE_CLAUSE and the displayed P1_WHERE_CLAUSE), resulting in a retreival of all records.
    Anybody have any idea what's going on and why, and how to get the csv export to use the correct value for the where condition?
    Thanks,
    Bill Ferguson

    It appears the "Export to CSV" functionality requires the item value to be set in session state. The P1_WHERE_CLAUSE item value never gets saved to session state. The page is rendered and the value is put in the item on the page but until you submit the page session state doesn't know what P1_WHERE_CLAUSE is.
    Create a before header computation or process to set the value of P1_WHERE_CLAUSE (which will save it to session state). It is interesting that the report regions didn't need to look at the value in session state but the "export to csv" does.
    --Jeff                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Interactive Report Download and Session State Protection

    I have created an Interactive Report in an APEX application that I have enabled
    session state protection for. The issue I am having is with the "Download"
    functionality of the interactive report to a .csv file.
    The URL created by selecting Download from the drop down (javascript:gReport.controls.download();)
    is built or constructed without a checksum thus causing the error below.
    Error
    No checksum was provided to show processing for a page that
    requires a checksum when one or more request, clear cache, or argument
    values are passed as parameters.
    The anchor tag containing the URL (/f?p=app_id:page:session_id:CSV:) is contained within
    &lt;div id="apexir_CONTROL_PANEL_DROP" class="drop_panel
    clearfix" style=""&gt;
    Running the following: Application Express 3.1.0.00.32 on Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    Is there a way to add a checksum to this? OR does anyone have any ideas on how to work around this?
    Edited by: Bryce Tuohy on Feb 26, 2009 10:08 AM

    WORKAROUND:
    1.) Create hidden ITEM on page (I named it P23_PREPARED_CSV_DOWNLOAD_URL).
    Enter the following for the ITEM
    as the SOURCE_TYPE : PL/SQL Function Body
    as the SOURCE: return apex_util.prepare_url('f?p=&APP_ID.:&APP_PAGE_ID.:&APP_SESSION.:CSV:')
    2.) Create BUTTON that executes javascript to open POPUP window with this url.
    a.) Create Button and enter
    &lt;a href="javascript:popupURL('&P23_PREPARED_CSV_DOWNLOAD_URL.')"&gt;Download and Save to CSV file&lt;/a&gt;as the "Text Label/Alt"
    Originally had custom code for javascript POPUP and this is not needed .... just use the APEX javascript function.
    Edited by: Bryce Tuohy on Mar 5, 2009 10:47 AM

Maybe you are looking for

  • Color LaserJet 2600n and manual duplex option

    good morning, i have a Color LaserJet 2600n and i have a manual duplex problems i have upgraded my OS from WinXP and the manual duplex function does not work anymore (system with OS Win7 x64 and system with win8.1 x64) in win XP I selected the manual

  • Safari 6.0.2 Constantly Crashing

    Safari has been constantly crashing over the last few weeks, every day, multiple times per day. Here's an clipped version of the crash log. I've got a Macbook Air from late last year. Anyone got any ideas? Process:         WebProcess [71584] Path:   

  • Wait While Windows Configures TestStand

    Hello everyone, I'm having a problem when I launch TestStand in a couple of Deployment stations, I keep getting the "Please Wait While Windows Configures TestStand 4.1" message everytime I start the User Interface. I followed the instructions of this

  • Using Older Airport Express as an wireless/ethernet bridge

    Hi there, I noticed that people are using their Airport Express (n) products to create a bridge to wireless networks via the ethernet port on the Express. Is this possible for older non-N Airport Expresses? I read online that one could set up a WDS n

  • UDP Won't Open

    I'm trying to open port 6112 for both TCP and UDP to play Starcraft. However, whenever I enter multiplayer and connect to battle.net, the UDP will automatically close, though the TCP will remain open. But when I exit multiplayer, the UDP opens again.