Open_form in new session and packages

I have form A opened. Form A , calls some stored packages X and set some variable Y in the package.
Now form A calls form B, with session mode. Will the value of variable X.Y be available in form B.
Basically the question is when you open a new form (using open_form , session mode) what happens to the package variable ( stored packages).
Thanking you

Variables for stored packages are not visible accross session. Having said that you can try two things, first is as advised by the person earlier.
Secondly, you can write value to a temporary table and read it from there. You can save value in the table using current session id. And when you launch new form with new session pass current id as parameter. New session form can then locate the value from the temporary table.
Best of luck!

Similar Messages

  • Choice between start new session and restore previous session

    I have refused to update firefox since 2.0.0.14. That's mid 2008. The reason? Because EVERY update I have seen has a critical flaw and I am sick of it never having been addressed. Oh, I have tested it many times. I am impatient in general. I have allowed it to update just now for instance with the naive hope that MAYBE you'd put it back the way it should be, and NOPE, you STILL have the critical epic fail that you introduced some time after 2.0.0.14, and I then had to uninstall firefox and reinstall my copy of 2.0.0.14 and restore my passwords and bookmarks from the key3.db and bookmarks.htm files (which also aren't compatible with the later versions, and that's bad too since it was more efficiently done and more comprehensible and more compatible with common knowledge that way, what the hell is a .json file anyway????), and I am sick of it. It's getting harder and harder to use 2.0.0.14, things constantly say snide things like 'upgrade (downgrade) to a modern browser, your browser is not supported', 'you are using md5 for certificate validation, are you insane?', that sort of thing, and things often don't work right, but it is WORTH every bit of it to avoid the critical epic fail.
    Ok, enough suspense. That critical epic fail is this: when I start firefox after the previous session crashed (or was killed by the task manager), it does NOT give the NICE CHOICE 2.0.0.14 does between "begin new session" and "restore previous session". It automatically restores the previous session. Do you have any idea how many times I have gone to a webpage only to observe it is infected with a virus which it tries to put on my computer, or just a horrible page with a horrible script that seems to involve an infinite loop or at least something incredibly excessive and inefficiently coded that totally eats up the CPU processing power and I BARELY managed to KILL firefox with the task manager? Do you think I want it to go right back to loading that page when I start firefox again? Do you have the BATSH*T INSANE notion that I should always WANT to restore my previous session? Well I DON'T! I killed it with good reason in the first place. 100% of the time mozilla gets killed by the task manager and 90% of the time it crashes, I don't WANT to restore my previous session. Is there some secret hidden feature representing providing this choice that 2.0.0.14 provided that is by default DISABLED that I can maybe enable, or do I have to continue using 2.0.0.14 and watch as more and more and more things refuse to work with it?
    Also, you need to have the "stop" button within reach of the bookmarks and the left side of the address bar, not on the far right of the screen. And I'd also rather not have it be in the same place as the refresh button, though I understand the justification for having the stop button become the refresh button. Is there any way I can also have the "forward, back, stop, refresh" buttons all together and in the most convenient place as they were in 2.0.0.14 while I'm at it?

    Set the pref browser.sessionstore.max_resumed_crashes to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.
    *http://kb.mozillazine.org/browser.sessionstore.max_resumed_crashes
    That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.
    See:
    * http://kb.mozillazine.org/Session_Restore#Restoring_a_session_after_a_crash
    * http://kb.mozillazine.org/Browser.sessionstore.max_resumed_crashes

  • Open New Sessions and attach

    Hello,
    I am trying to figure out how while attacehd to SAP from VBA excel to open a new session and continue the task in the new session. The end goal is to run 3 different transactions and have them up each in a seperate window. this is what I have so far but the transaction doesn't continue in the new session created it defaults back to the original window.
      Set SapGuiAuto = GetObject("SAPGUI")
      Set SAP = SapGuiAuto.GetScriptingEngine
    With SAP.Connections(0).Sessions(0)
        .createsession
    End With
      Set SapGuiAuto = GetObject("SAPGUI")
      Set SAP = SapGuiAuto.GetScriptingEngine
    SAP.Connections(0).Sessions(0).StartTransaction (Tcode)
    With SAP.Connections(0).Sessions(0)
            .findById("wnd[0]/usr/tabsTAB300/tabpF01/ssubINCLUDE300:SAPMM61R:0301/ctxtRM61R-MATNR").Text = Selection
            .findById("wnd[0]/usr/tabsTAB300/tabpF01/ssubINCLUDE300:SAPMM61R:0301/ctxtRM61R-WERKS").Text = "CHEM"
            .findById("wnd[0]/tbar[0]/btn[0]").press
            .findById("wnd[0]/tbar[1]/btn[34]").press
            .findById("wnd[0]/tbar[1]/btn[35]").press
            .findById("wnd[0]/tbar[1]/btn[36]").press
    I am attaching once...creating a new session and attaching again but it does not seem to happen in the new window created....any help please?

    Hi SLobo32, welcome to the forum !
    The question is simple but  I needed for the answer a lot of time. I have put my observations into a theory as folllows.
    By the command "create session", we opened a new SAP session. The system decides which is given session number. The task is then, how is the new session number.
    Session_number_max = 6                                  'the maximum number of possible SAP sessions
    Dim session_number_(Session_number_max)
    Set SapGuiAuto = GetObject("SAPGUI")
    Set SAP = SapGuiAuto.GetScriptingEngine
    Set connection = SAP.Children(0)
    Set session    = connection.Children(0)
    '------------------------------------------- new session connect -------------------------------------------------------------
    session_number_all = connection.children.count - 1
    for i = 1 to Session_number_max
         session_number_(i) = 0
    next 
    for session_number = 0 to session_number_all
         Set session    = connection.Children(int(session_number))
         session_number_(session.info.sessionnumber) = session.info.sessionnumber
    next
    if session_number_all < Session_number_max - 1 then
         session.createsession
         do
          wscript.sleep 500
          if connection.children.count - session_number_all >= 2 then exit do
         loop
         on error resume next
         Error_number = 1
         for session_number = 0 to session_number_all + 1
              err.clear
              Set session    = connection.Children(int(session_number))
              if err.number > 0 or err.number < 0 then exit for
             if session_number_(session.info.sessionnumber) = 0 then
                Error_number = 0
                exit for
             end if
             'session.findById("wnd[0]").iconify                          'So you can send another SAP session in the task bar.
         next
         on error goto 0
    else
    msgbox "New session is not possible."
    end if
    '------------------------------------------- new session connect -------------------------------------------------------------
    If Error_number = 0 then
    session.StartTransaction (Tcode)
    With session
    .findById("wnd[0]/usr/tabsTAB300/tabpF01/ssubINCLUDE300:SAPMM61R:0301/ctxtRM61R-MATNR").Text = Selection
    .findById("wnd[0]/usr/tabsTAB300/tabpF01/ssubINCLUDE300:SAPMM61R:0301/ctxtRM61R-WERKS").Text = "CHEM"
    .findById("wnd[0]/tbar[0]/btn[0]").press
    .findById("wnd[0]/tbar[1]/btn34").press
    .findById("wnd[0]/tbar[1]/btn35").press
    .findById("wnd[0]/tbar[1]/btn36").press
    Regards,
    ScriptMan
    Edited by: ScriptMan on May 11, 2011 3:08 PM

  • Globals and Open_Form with new session

    How are Globals treated when calling Open_Form with the SESSION parameter? Are they session specific?
    I am trying to pass information between two forms within different sessions. Would parameters allow me to do this? Is there a way of passing globals between forms in different sessions?
    thanks in advance
    n

    Sorry but global variables are specific to session and do not span over multiple sessions. U could use parameter forms instead.

  • Scope of global & pl/sql variable in open_form with new session

    Hi,
    What will be the scope of the Oracle forms global variable & variable declared in a pl/sql pckage, if the value in these variable is updated from the Oracle Form GUI, if the form is opend by using the open_form method with new session or Active session.
    My requirement is , I developed one application with custom user login name & password - not the Oracle username & password.
    But I need to track the user actions on the forms - Inser/Update/Delete action, for this i included user_name as one of the column in the base table, and from the form, initialise this field with login user name.
    I implemented this in the trigger of the base table. But for delete, I am not getting the user name who deleted, only getting the user who created this record, because :NEW is not in scope for after delete trigger. So for the delte, I created a variabe in a PL/SQL package, and created two procedure to set & get the user name to that variable, and from the Form, before delete by using the set method I assign the current login user name to the variable, and in the trigger by using the get() get the user name from the variable, So far this is working fine, my doubt is What will be the value in the variable, if two different user made delete action from at a same time, Whether first user name will be replace with second one, or this variable will be in different session, If I opened the forms by using SESSION parameter. Also can I use Oralce Forms global varaible instead of the PL/SQL varibale.
    Thank in advance.

    Thanks Andreas,
    I did the same way. But my doubt is All the user login will be in different session, I mean, Whether the vairable used to store the user name will be in different session to each Oracle Forms user, it wont overwrite one user name with the next login user name.
    -- Copied from you old message:
    <<On the forms-side after the login, call PK_USER.PR_SET_USER(THE_USER_TAKEN_FROM_SOMEWHERE);
    In your db-triggers where you actually use something like USER, use PK_USER.FK_GET_USER instead>>
    Thanks
    Rizly

  • When I open up my hotmail, it opens a new session and not a new tab. Why?

    After I launch your program with MSN as my home page, I then click on hotmail to open up my emails. When I complete the log-in, a new Firefox session opens for my emails and not a new tab like it has done in the past. This has been happening for the past two to three months. What caused this change?

    Check the [[Options window - Tabs panel]] and make sure the setting "Open new windows in a new tab instead" has been selected.
    There are also quite a few tabbed browsing add-ons that give you greater control over tabbed browsing, and can force all new windows to open in a tab. Some examples are:
    * [https://addons.mozilla.org/en-US/firefox/addon/1122/ Tab Mix Plu]
    * [https://addons.mozilla.org/en-US/firefox/addon/14439/ Tabberwocky]
    * [https://addons.mozilla.org/en-US/firefox/addon/59961/ Tab Utilities]
    * [https://addons.mozilla.org/en-US/firefox/addon/13288/ Super Tab Mode]

  • Firefox crashes after I open with a message, oops how embarassing, and asks which applicaiton to keep open or start new session. I opt for new session and it crashs

    For the past two weeks, firefox will will crash after I open it or not open at all but just flash on the screen and disappear. This happens when I open in Google or search on MSN or go to hotmail.

    Not necessarily: rv:1.9.2.8 indicates a Firefox 3.6.8 version
    *Mozilla/5.0 (X11; Linux i686; rv:1.9.2.8) Gecko/20100722 Firefox/4.0.1
    You can check for a possibly corrupted user agent.
    See:
    *https://support.mozilla.org/kb/Finding+your+Firefox+version
    *https://support.mozilla.org/kb/websites-say-firefox-outdated-or-incompatible
    *http://kb.mozillazine.org/Resetting_your_useragent_string_to_its_compiled-in_default

  • Asynchronous SUBMIT or CALL WITH creation of NEW SESSION

    I'm doing monotonous comparisons between systems, but I do need to see the SAP standard comparison for each. So I have an ALV list that I'd like to double click a line entry that will spawn 3 NEW SESSIONS and I'll automatically populate the parameters.
    So, has anyone been able to SUBMIT or CALL WITH THE KEY BEING THAT IT MUST CREATE 3 NEW ASYNCHRONOUS SESSIONS. I'd be grateful if you'd share your experience in this regard. Thank you, Adrian

    Hi,
    You can try in this way.
    Create a new FM and place your code there. Call this FM using addition STARTING NEW TASK. It should work fine.
    Check out F1 help on CALL FUNCTION for more details and additions.
    Thanks,
    Vinod.

  • New sessions in oracle 10g

    I would like to know how many new sessions and user I/O between 9.00am to 12.00PM and 1.00Pm to 4.00PM every day
    any scripts run in cron job

    created trigger like this but I am getting
    Warning: Trigger created with compilation errors.
    what is problem in the trigger script
    SQL> CREATE TABLE LOGIN_AUDIT_INFO_ALL
    username varchar2(30),
    session_id number(8),
    client_hostname varchar2(30),
    client_ip_address varchar2(16),
    login_time varchar2(10)
    Table created.
    SQL> create or replace trigger login_audit_dblevel
    2 AFTER LOGON ON DATABASE
    3 DECLARE
    4 usr varchar2(30);
    5 ssn_id number(8);
    6 chost varchar2(30);
    7 cip varchar2(16);
    8 clogin varchar2(10);
    9 BEGIN
    10 select sys_context(.USERENV.,'SESSION_USER.) into usr from dual;
    11 select sys_context(.USERENV.,'SESSIONID.) into ssn_id from dual;
    12 select sys_context(.USERENV.,'HOST.) into chost from dual;
    13 select sys_context(.USERENV.,'IP_ADDRESS.) into cip from dual;
    14 select to_char(SYSDATE,.HH24:MM:SS.) into clogin from dual;
    15 insert into login_audit_info_all values(usr, ssn_id,chost,cip, clogin);
    16 end;
    17 /
    Warning: Trigger created with compilation errors.
    SQL>

  • New session created with every request

    Hi there,
    I have an web application that we used to deploy on tomcat, websphere and bea without any trouble. We are trying to move to support OAS and the application gives this peculiar behavior:
    A new session is created with every single request by the client browser. I have searched these forums for the better part of today and read some interesting similar cases but none of the fixes seem to have any effect on my problem.
    Is there a different way I need to request the session object from the request in the app for OAS? Or is there a configuration that I should have? I am deploying the app as a .war file. Is there a better way to deploy on OAS, should I stick the war in a .ear?
    Any help on this would be most greatly appreciated!
    Thanks,
    -Adam

    I have a problem that matches with this subject line but its somewhat different. This original posting wants to create new session and invalidate the existing one but my problem is to keep the session invalide if it has expired for the browser.
    Anyways, here is my problem. I have JSP named entity_actions.jsp which has 3 pop-up links that opens up with code like:
    window.open('restaurantentry.do?entityName=restaurant')
    window.open('districtentry.do?entityName=district')
    window.open('baseentry.do?entityName=base')
    My web.xml has this tag:
    <session-config>
    <session-timeout>5</session-timeout>
    </session-config>
    And the way forward the response for each request is:
    context.getRequestDispatcher(urlString).forward(request, response);
    The code I check for session timeout is:
    private void checkForSessionTimeOut(HttpServletRequest request)
    throws SessionTimeoutException
    HttpSession current_session = request.getSession(false);
    logger.info(CLASS_OBJECT, "Session in checkForSessionTimeOut(): "+current_session);
    if (current_session == null)
    logger.error(CLASS_OBJECT, "SessionTimeOutException has thrown.");
    throw new SessionTimeoutException("sessionTimeOut");
    Now lets say I want to show the end user session expiry page after 5 mins of idle time. Now from entity_actions.jsp when I click/open any one popup first time after 5 mins of idle time/session expire,
    logger.info(CLASS_OBJECT, "Session in checkForSessionTimeOut(): "+current_session);
    this loggers shows current_session as 'null' and I can display session exp mesg on the popup page. But when I click/open any other popup or any other link on the page it DOES WORK instead of having current_session = null, it creates new one. And I can see the sessionid which is different than fist session created on the same base page/browser.
    The same pattern of code used to work on Tomcat and JRun before for showing consistant session expiry on all the clicks being made on the same browswer after session gets expire.
    Why OC4J / JDev 10.1.3 is creating new session on the same browser even after session has expired?
    How can I fix this?
    Thanks

  • Setting to prevent "Function will be started in new session"

    Hi all,
    I'm focusing following problem / request.
    User A is doubleclicking on a Inforecord number inside a puchase order position (ME23N). Now SAP is showing message MEPO014 (Function will be started in new session) and displaying master data of this inforecord in a new "window" (ME13). If the user has already 6 sessions open, he will get a error message "max. sessions ...!". So far so well.
    Now the problem:
    User B is doing the same, having already 6 sessions open and ME13 will be displayed in same session (window) where he doubleclicked the inforrecord (ME23N).
    question:
    is there a setting where i can influence the "new session" behaviour of SAP Gui?
    plea:
    do not post hints like "have you checked User parameters" etc. --- of course i have
    If you can simulate what i described on your system you're my "expert"
    kind regards
    Jörg
    26/01/2011
    help? anyone ?
    Edited by: Jörg Sauterleute on Jan 26, 2011 10:53 PM

    Hi Jorg,
    Have you checked the following setting?
    ME23N-Personal SettingsBasic settings Tab-Envir.info in new session.
    Please remove the check mark and save.
    Hope it helps.

  • New session creation

    I have a servlet filter that checks the session for every incoming request.
    The session validation is done for every request except the login request. If a request with a new session, which is not a login request is sent, then unauthorised user is sent in the response.
    If the http request for login is sent in the form of : http://ipaddress:portnumber/myApp/login.do, and after successful login, if the subsequent requests are sent in the form of
    http://mymachinename.domain.com/myApp/processotherrequests.do (since Apache server is configured on my machine), then these requests are treated as new sessions and hence unauthorised user response is sent back.
    what could be the problem?

    The session is maintained as a cookie on the browser with the name JSESSIONID. The browser only sends cookies back to the domain that set the cookie. The browser does not know that the ipaddress and the domain name are the same so does not send the cookie.
    As an example the ip address 127.0.0.1 is equivalent to the domain name 'localhost' but the browser does not know this so a cookie created for 127.0.0.1 will not be send to in a call to 'localhost'

  • Can I retrieve my last session after accidently chosing start new session over restore session?

    I love the feature of restoring last session. But I accidentally chose the wrong choice (open new session) and lost all my previous session. How can I get back to my previous session?

    If you use the Time Machine then you can restore a previous version of the file sessionstore.js in the Firefox Profile Folder
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/sessionstore.js
    *http://kb.mozillazine.org/Session_Restore

  • Installing Firefox 4 changed my tabs options so when I start load it starts a new session. I want to recover my tabs from my previous session. How?

    Installing Firefox 4 changed my tabs options so when I loaded, it has started a new session and not loaded the tabs I had open when I closed my last session.
    I want to recover my tabs from my previous session. Possible?
    My previous session had been open for over a week so this history is basically useless as it's cluttered with thousands of pages.

    # Press Alt+T
    # Click on Options
    # Go to General Panel
    # Under the category When Firefox Starts select "Show my windows and tabs from last time"
    ''<hr>Note: If anyone's reply has solved your problem, then please mark that reply as "Solved It" to the right of that reply after logging in your account. It will help us to concentrate on new questions.''

  • PROTOOLS LE: end of file error (-39) MUST ESTABLISH NEW SESSIONS

    i messed up big time...
    saved my protools files to an external hard drive which was not set up as an audio drive. now i can't open any of my protools sessions. i get an "logic end-of-file error (-39)" message.
    i have tried opening back up sessions, verified / repaired permissions, saved back to the original location on my internal drive....all sorts of things.
    i have been importing the audio files into new sessions and arranging them, but this is really really time consuming, and frustrating, as many of the tracks are not "zero-lined".
    if anyone has a solution for somehow extracting the session/setup information, that would be great.

    Hi,
    In order to increase the max session, I would request you to set the following on your
    context.properties.
    context.global.sessionmgr.initArgs=maxSessions=2000,,timeOut=300,reap
    Interval=150
    Also, on the servlets.properties.
    servlets.sessionmgr.initArgs=maxSessions=2000,timeOut=300,reapInterval=150
    Note : Stop/start the server to take the new value.
    For more info. check below link.
    http://docs.iplanet.com/docs/manuals/enterprise/41/servlets/a-sess.htm#17031
    Regards,
    Daks.

Maybe you are looking for

  • Print on client machine

    Hi, I deployed my web application on linux machine.I have a print action to be performed.So the print function is in the web application. The print function gets called an the print job is done at the default printer on linux machine. But i need the

  • In Lion, Finder does not keep preferences

    In Lion, Finder opens in my home page.  When I tell it to open in another folder, it remembers for about 3-4 days, and then goes back to to my home page.  How can I get it to remember my preference?

  • A lot of issues with my S5

    Since these recent updates my phone has been glitching the **** out. Like my keyboard will type on its own, facebook will not update its feed, and sometimes my lock screen to type in my numbers to unlock my phone wont show up. What is the deal? Also

  • Msn Tech Rep from monktech disabled my Adobe Acrobat 9.0 during trouble shooting.

    I am now without Acrobat 9.0 Pro on a relatively expensive software that I use every hour of every day.  How do I reactivate.  Adobe Service Rep says contact Forum since my software is too old for them to advise.  It was purchased in October of 2010

  • Privilege Levels on FWs, switches and Routers

    One question - I am bothered with the privilege level settings. Is there a default mapping between a priv lvl and teh commands you are allowed to execute or one needs to define that. EX: I want somebody to only have the right of executing sh run on a