Session expires after popup windows

I am using JDeveloper 9.0.3.10.
I need to use the javascript function window.open to open a new (popup) dialog. I lose my session after I close the new dialog and since I validate my session in everypage, I get forwarded to the login page after opening any popup.
This only happens when I run the application locally in JDeveloper. I do NOT have this problem when I deploy the application on a server.
I'd really appreciate your help.

I had that problem too and it seems to be a bug in Internet Explorer.
It seems that IE tries to keep a count of how many windows are interested in the current session, and when you close the last one, it gets rid of the session cookie. But it gets the counting wrong sometimes.
It especially gets it wrong if the browser has gone from a file-url to an http-url (!). Which explains why it breaks when you run it from jdeveloper (the webapp runner loads a local file into the browser and then goes to the proper url).
If this is what's causing your problem then you will probably find that if you run your application from jdeveloper, make a note of the url, then immediately close that browser (because it has been through a file url so it's going to get its counting wrong) and open a fresh one, paste the url into that fresh browser and everything should work fine.
I think the bug has been in IE for a long time.
There's an article about it here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;311072

Similar Messages

  • Firefox should save session when only popup windows is open

    When I have some window with multiple tabs open and I click close button on top, it saves the session and quits. Thats ok. But when there is some hidden popup window open (or source code) it destroys the session and leaves the popup open!!!! So the menu is gone and you lose your session. When i restart FF tabs are gone. So it should save session when only some popup windows are open.
    Also it should ask what to do when i click close window, when it's unclear what to do

    It is always a good idea to close a Firefox session by clicking File > Exit or Firefox button > Exit for proper shutdown.
    Those pop-up windows are produced by JavaScript. JavaScript can disable certain features in the pop-up window. You can set some preferences using '''about:config''' so that those features are not disabled in the pop-up window. See:
    *How to use '''about:config''': http://kb.mozillazine.org/About:config
    #type '''''about:config''''' in the URL/Location bar and press the Enter key
    #if you see a warning, accept it (promise to be careful)
    #Filter = '''dom. disable_window_open_feature.'''
    #reset preferences you want to '''''false''''' by double-clicking on that preference in the lower panel on the '''about:config''' tab
    #Preferences you can reset in this case: http://kb.mozillazine.org/Prevent_websites_from_disabling_new_window_features
    <br />
    <br />
    '''You need to update the following.''' The Plugin version(s) shown below was/were submitted with your question and is/are out of date. You should update to avoid known security issues with the version(s) you have installed. Click on "More system info..." to the right of your question to see what was included with your question.
    *Adobe PDF Plug-In For Firefox and Netscape "9.4.3"
    *Shockwave Flash 10.2 r159
    *Next Generation Java Plug-in 1.6.0_24 for Mozilla browsers
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #*There are plugin specific testing links available from this page:
    #**http://kb.mozillazine.org/Testing_plugins
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**SAVE the installer to your hard drive (save to your Desktop so that you can find it after the download). Exit/Close Firefox. Run the installer you just downloaded.
    #**Use either of the links below:
    #***https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox ''(click on "Installing and updating Adobe Reader")''
    #***''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • Tomcat session expires after compiling servlet/ class

    Hi,
    Does anybody know why tomcat(4.1) session expires if you modify a serlvet or class and compile it.
    After compiling I refresh the page and I get session invalidated page. And every time I compile I have to relogin.
    Any ideas ? Is there a work around ?

    In serverl.xml, if you have set the reloadable="true" attribute in your <Context/> tag for your web application then each time one of the servlet classes is modified, tomcat will reload the web application. Set reloadable="false" and this will stop.
    tobes

  • Portal Session Expiration after 10 minutes.

    Hello Experts,
    We are running on EP 7.0 ABAP+JAVA stack.The UME has been configured on ABAP stack.
    We have a requirement to auto logoff the portal if no activity is done for 10 minutes.
    I have gone through SAP Notes and came to know this is not possible in current portal framework. In some threads I got clue to set some parameters for SSO expiration and Security session expiration but that did not gave desired result.
    I have set the security session to 10minutes in Visual administrator.(default 27h) [Security Provider -> SessionExpirationPeriod ]but nothing happened I am still in portal session after 10 minutes.
    I made the change in -> /usr/sap/<SID>/<inst>/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/web.xml
    And change the session time out to 10 minutes. But same result nothing happened.
    Please guide what settings I am missing. What else I have to do to get the session expire.
    thanks & regards
    shankar

    Hi,
    Check this:
    Redirect user to a custom "logoff" page after 10 minutes of user inactivity
    To set Logon Tickets Validity Period:
    http://help.sap.com/saphelp_nw70/helpdata/EN/45/18b6cfe1235d79e10000000a11466f/frameset.htm
    Regards,
    Praveen Gudapati

  • Session Expired after logging on to Visual Administrator - SLD Config

    Hey Guys,
    I have a NW2004s installation, both ABAP and Java stack, with UME pointing to the ABAP stack.
    I created a user in ABAP stack, and assigned the J2EE_ADMIN role to this user.
    I try to log into the Visual Administrator with this user. The login is successful.
    However right after I navigate to the sld data supplier node and click it, I get the error message, Session Expired.
    I think it is because I am not authorized to configure SLD or something like that.
    When I created the user in the ABAP stack I entered all the roles for the user with which I am logging on to the Visual Admin:
         SAP_SLD_ADMINISTRATOR
         SAP_SLD_CONFIGURATOR
    Anyhelp so that I can get over this problem and configure the SLD in the system.
    Thank You.
    Sumit.

    J2EE_ADMIN role has all the rights(configure SLD etc) , make sure you configure the SLD and import the CIM model content you can login to SLD at http://<host>:5XX00/SLD and then access the data supplier bridge
    where XX is your instance number

  • PLease Help !Jsp Session expired when open Window with "_blank" atributte

    PLease please Help me!
    Hi ,
    I have a problem
    First , all my pages when load evaluate if session exists .
    If not exists session
    this page redirect other page (page_expired.jsp)
    this works correctly ... but
    when page01.jsp open page02.jsp from :
    <form action='page02.jsp' target ="_self"> - >works correctly (load on the same page ..)
    but when :
    <form action='page02.jsp' target ="_blank"> -> this redirect page_expired.jsp
    why this ??
    Sometimes work and Sometimes not work...
    but now it does not work
    Excuse my english not is goog...
    Greetings From Lima - Peru

    Hi
    This problem ocurred when testing on my server of testing(this is in my office) ,
    but when test in the server machine of my house this work!!! great! ,
    not appear session expired.!!
    this theme of configuration ??
    if is ths ?
    what configure ?
    Please Help Me .
    I am using EASERVER 5.2 with JSP
    Bye! Greetings From Lima Per�

  • Session expires after the script1 in the job is over

    hi,
    i created a job. in my application i have to maintain the session. in the job, when script 1 gets over, and script starts, i dont know for what reason, the session expires. can this be due to cookies??

    If the session is needed for the second script in the job, then try to change the following settings for the second script using Options -> Current Script -> Playback -> Script. In the Automation Actions frame, uncheck the first three checkboxes for Reset Browser, Start new browser session and use distinct cookie directory. Also remember to uncheck the checkbox for Use same settings for all new scripts, that is the last option on the Current Script Setting dialog. Otherwise the above settings will apply to any of the new scripts that you create.
    Hope this helps.

  • Session expired within 10-20 seconds while working on Visual Administartor.

    session expired within 10-20 seconds while working on Visual Administartor.
    Details: In VA, each dispatcher and Server process have four components:
    kernel, Interfaces, Libraries and Services.
    While working on Kernel in VA of dispatcher or Server, I'm getting 'session expired' after every 10-20 seconds.
    I'm not getting the same 'session expired' problem while working on interfaces, libraries or services.
    After 2-3 minute of wait, again i'm able to work on kernel  but again after 10-20 seconds, session get expired.
    Pls suggets to resolve this problem. We are on SP level 20.
    r1n0v3:xpdadm 5> ./go
    java version "1.4.2.10"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.10-060112-14:28)
    Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.10-060112-19:42-IA64N IA64, mixed mode)
    java.lang.ClassCastException
            at com.sap.engine.services.adminadapter.impl.Util.trim(Util.java:167)
            at com.sap.engine.services.adminadapter.impl.Util.compareProperties(Util.java:142)
            at com.sap.engine.services.adminadapter.gui.node.ManagerNodeView.deselectSingleManagerNode(ManagerNodeView.java:86)
            at com.sap.engine.services.adminadapter.gui.node.ManagerNodeView.deselectNode(ManagerNodeView.java:79)
            at com.sap.engine.services.adminadapter.gui.AdminManager.deselectManagerNode(AdminManager.java:266)
            at com.sap.engine.services.adminadapter.gui.AdminManager.deselectNode(AdminManager.java:146)
            at com.sap.engine.services.adminadapter.gui.AdminManager.valueChanged(AdminManager.java:96)
            at javax.swing.JTree.fireValueChanged(JTree.java:2392)
            at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:2763)
            at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629)
            at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1076)
            at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:287)
            at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:170)
            at javax.swing.JTree.setSelectionPath(JTree.java:1168)
            at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2215)
            at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.handleSelection(BasicTreeUI.java:2863)
            at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.mousePressed(BasicTreeUI.java:2824)
            at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
            at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
            at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
            at java.awt.Component.processMouseEvent(Component.java:5161)
            at java.awt.Component.processEvent(Component.java:4961)
            at java.awt.Container.processEvent(Container.java:1569)
            at java.awt.Component.dispatchEventImpl(Component.java:3679)
            at java.awt.Container.dispatchEventImpl(Container.java:1627)
            at java.awt.Component.dispatchEvent(Component.java:3541)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3195)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
            at java.awt.Container.dispatchEventImpl(Container.java:1613)
            at java.awt.Window.dispatchEventImpl(Window.java:1606)
            at java.awt.Component.dispatchEvent(Component.java:3541)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Exception occurred during event dispatching:
    Thanks in advance
    Amar

    Update on my problem of VA:
    'Session expired' session only happened when i'm clicking the 'cluster manager' of Kernel or server instances.
    For all managers in kernel, i'm not getting this problem.
    I have seen some following properties in Cluster Manager. Not sure, these are the cause of problems:
    Key                                                                              value
    ___MS_PROP_GET_CLIENT_STATISTIC                        -
    ___MS_PROP_GET_HARDWARE_ID                            M0565709169
    ___MS_PROP_GET_INFO                                             -
    ___MS_PROP_GET_PARAMS                                      -
    ___MS_PROP_GET_SERVICE_INFO                            -
    ___MS_PROP_GET_STATISTIC                                    -
    ___MS_PROP_GET_SYSTEM_ID                                 XPD
    cluster.name                                                               -
    Pls suggets if your dispatcher or server kernel have the above mentioned properties value and what would be the impacty if i remove the properties that have no value assigned.
    Thanks once again in advance.
    Amar

  • Jdev 10.1.3.3 + ADF popup window

    Hello,
    We are using the adf popup window to show some of the application data. But when session times out we are facing the issue in redirecting the page. Currently when session times out popup window is getting redirected to login page,but parent window is not closing.We want to close the popup window,parent window and redirect to login page.Any idea or thoughts around how to handle session time out in case of popup windows??
    Thanks
    Edited by: user645222 on Nov 10, 2009 9:48 AM

    Hi,
    its a while ago that I looked into this and the only thing that worked for me is to use a JavaScript timer you set to fire before the session expires to close the window.
    Frank

  • Session Expired error in browser

    Hi guys,
    I hope everyone had an excellent festive period. I have been trying to access certain parts of websites and after I have successfully logged in and trying to access the member section i receive this error: 
    Session expired
    Why does my session expire?
    This could be either...
    For your security, your session expires after 10 minutes of no activity. This means no link has been clicked or data has been submitted in last 10 minutes.
    You have entered the URL of a particular page, which cannot be viewed without prior authentication.
    I have previously accessed these websites on my PlayBook but I am unable to any longer. These include the Etihad careers section along with the Emirates careers section.
    I have tried clearing the browser history, cookies, cache and local storage along with restarting the PlayBook, but all to no avail.
    Any help would be greatly appreciated.
    Regards,
    Dave

    I completely miss read that my apologies. I have tried the hard reset and still to no avail. Any other suggestions would be greatly appreciated. I have also tried the bridge browser and I have also tried the basic browser and also the comic sans browser and all of these have the same errors as well.

  • Varing the session expiration time

    Hi all,
    the default session time with my server and the ADTB are too short (24 mins)
    Do you have a PROOFED WORKING way to extend the session lifetime?
    I tryed both to use the .htaccess variable and the ini_set("session.gc_maxlifetime")
    If I query then the ini_get("session.gc_maxlifetime") I get the new session length I decided.
    But in fact the session expires after a very short time?
    Any help would be really appreciated
    A. F.

    Hi Fonzie,
    if neither the .htaccess approach nor the ini_set function work on your host, I fear I have no idea what you could do instead, as the host admins seems to have disabled both features for whatever reason.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Session expires when a close a new window

    I got a strange problem. That�s the scenario:
    A user is in a page (let�s call it "parent window"), and click on a button that open a new window (let�s call it "child window"), using "window.open" javascript function. He do some operations with the new window and close it. On trying navigate again with the parent window, the session has been expired.
    The curious thing is this problem occurrs under some conditions: when other browser is open, in some other site, this problem don�t occurs; at Netscape, it dont�t occurs too.
    Some light?
    Thanx

    In which case, it probably would be better suited for the JSP forum, but nonetheless...
    Depending on how your app server is set up, most sessions are set to expire after 30 minutes. If you didn't change this setting, it probably still is. A session will also expire if all browser windows are closed, and should persist when a child window is closed.
    You're not explicitly creating a session like you would in a Servlet, are you? You're aware that the session object is implicitly declared in JSP pages, right?

  • How to stop a pop up window if the session expires

    Hi
    I have a situation wherein i have my jsp page. in that i have a button on clicking it a pop up window will open to take a input parameter.
    Now what we want is that if the session is not valid than the pop up shud not open.
    Currrently what is happening wen the session is not valid the popup gets open and in that popup a login page is coming.
    The logic for pop has been put in a javascript code which gets executed when the page was first loaded . So even if i put a logic for checking the session before the popup opens it wont work. So what can be a possible way i can do it?
    I am writing a scriptlet to check the logic for valid session.
    function changeLimitFunc(count)
         <% if ((request.getSession(false)== null)) {%>      
              return false;
         <%}
         else {%>
    popUp('');
              openedForm.target = 'change_download_limit';
              openedForm.submit();
    <%}%>
    and in the page which geot loaded the same code appears like
    function changeLimitFunc(count)
         popUp('');
                   openedForm.target = 'change_download_limit';
                   openedForm.submit();
    this popUp is amethod where we are createing our popup.
    please help me out to resolve it

    I have written this javascript code to block the popup
    function changeLimitFuncUnopened()
    if (checkIfValidSession()) {
              popUp('');
              unopenedForm.target = 'change_download_limit';
              unopenedForm.submit();
              else {
              return false;
    function checkIfValidSession() {
    <% HttpSession httpSession = request.getSession(); %>
    var lastAccessTime = <%= httpSession.getLastAccessedTime() %> ;
    var maxInactiveTime = <%= httpSession.getMaxInactiveInterval() %> ;
    var date = new Date();
    var time = date.getTime();
    if( (maxInactiveTime > 0) && ((time - lastAccessTime) > (maxInactiveTime * 1000))) {
         alert("Session TimedOut. Please Re-login!!!");
         return false;
    else {
         alert("inside else true shud go");
         return true;
    The code is working fine and blocking the popup. But I am not sure if this will be a correct fix.

  • Dynamic Action on "Get Focus" After Closing a Popup Window

    Hi,
    From one of APEX Application Pages I am calling a Popup Window where users can create a new record. In the Popup Window once the record is created and window is closed, I want to refresh the region on the main page to show the record created in the popup window.
    How do I create a dynamic action which will fire when the main APEX window gets the focus (after the popup window is closed). ?
    Any pointers will be greatly appreciated.
    Thanks & Regards,
    Ashish Agarwal
    http://www.asagarwal.com

    Assuming that you have a dynamic action in the parent page which refreshes the region
    <li> Make a note of the event which triggers your dynamic action, lets call this event A.
    <li> Create a JS function in parent page which triggers event A when called.
    For example if your Dynamic Action trigger is a button(id ="P100_REFRESH") press event
    Your JS function could be
    function Trigger_refreshRegion()
      $('#P100_REFRESH').click();
    The way in which you simulate the Dynamic action deoends on the firing event that you have used, so modify it appropriately.
    <li>Now in the pop up page, if you are closing the page in JS using smthing like window.close() or so,
    just call the parent page's refresh JS function there using the
      opener.Trigger_refreshRegion(); //whatever was the name of the function that you created.

  • Hello, I have creative cloud installed on my Mac Book Pro - OS X 10.9. 5 When trying to download trial version, a popup window shows the message " you have been disconnected"  Connect to continue. No way to access to the download programs after entering t

    Hello, I have creative cloud installed on my Mac Book Pro - OS X 10.9. 5 When trying to download trial programs, a popup window shows the message " you have been disconnected"  Connect to continue. The same message comes after repeated attempt to entering the login and password info. How can I solve this?

    Hi Jeff,
    Here is the screenshot of the window which comes after any attempt to download a trial version.  It is in French, it means you have been disconnected, connect to continue.

Maybe you are looking for