1 2 Previous Next 25 Replies Latest reply: Aug 25, 2013 7:48 PM by welsie RSS

    Skillbuilders Modal Page (2.0.0) and IE8 Session Lost/Logs Out

    Tony F.
      Hi,

      Hoping someone can assist and it seems to point to IE8 alone which is what we have to use but in using the Skillbuilders Modal (v2.0.0) plugin, I find that any page that I use the modal plugin, in developer mode will always log me out of my session and leave me at the Oracle ApEx login screen.

      For example, if page 8 has a dynamic action setup to call the Skillbuilders Modal plugin, if I run the page, all works great but when I return back to edit this page, immediately I am kicked out of my session and back at the login screen.

      Has anybody else experienced this issue and is there a fix for IE8 as this is very annoying for developers?

      Thanks.
      Tony.

      ps Dan, if you can assist, would really appreciate it. No issues using Chrome or Firefox browsers but as mentioned, I have to use IE8 - thanks.
        • 1. Re: Skillbuilders Modal Page (2.0.0) and IE8 Session Lost/Logs Out
          dmcghan
          Tony,

          I've heard this from a few users. I'm not sure what the issue is, but I'm unable to reproduce. One user believes it has to do with corporate security settings for IE, but I'm not sure.

          At any rate, it seems to only affect developers. Can't you develop in another browser?

          Regards,
          Dan

          blog: http://DanielMcghan.us/
          work: http://SkillBuilders.com/APEX/
          twitter: https://twitter.com/dmcghan
          • 2. Re: Skillbuilders Modal Page (2.0.0) and IE8 Session Lost/Logs Out
            Tony F.
            Hi Dan,

            Unfortunately not as IE8 is SOE.

            We are also using Glassfish so unsure if that is causing the issue but as mentioned, all is fine in Chrome and Firefox but not in IE8.

            When you talk of corporate security settings, what exactly in the browser settings are you referring to?

            Further to this, you state that you cannot reproduce, I found another thread from KEH813 - are you able to login into their workspace using IE8 and find a page in the app mentioned in the thread that utilises your plugin, run the page and then press edit page and see if it logs you out.

            Pls let me know the result.

            See:> Re: Skillbuilders Modal Page (2.0.0)  - question on window size, & missing 'X'

            Any help would be appreciated or unfortunately worst case scenario, we might have to pull out the plugin and try another means - prefer not to though as the plugin works great.

            Thanks Dan.

            Tony.
            • 3. Re: Skillbuilders Modal Page (2.0.0) and IE8 Session Lost/Logs Out
              dmcghan
              Tony,

              Can you confirm that this is only affecting developers and the workspace session, not end users and the application session?

              How do you know if Chrome and FF don't have issues if you can't use them? If you can use them can the other developers (a moot point if this affects end users)?

              I ran the test you asked me to do in IE9 because that's the only IE browser I can easily get my hands on. I set the browser mode and document mode to IE8. After using the modal I was NOT logged out of either the developer or end user sessions.

              Regards,
              Dan

              blog: http://DanielMcghan.us/
              work: http://SkillBuilders.com/APEX/
              twitter: https://twitter.com/dmcghan
              • 4. Re: Skillbuilders Modal Page (2.0.0) and IE8 Session Lost/Logs Out
                Tom Petrus
                I use FF to develop the applications, and only use ie8 to test the end results. I don't have Chrome.
                Since i read about this before, i decided to give this a try, and indeed... When you load a page which has the plugin, the moment you click for example 'Edit page 11' you are sent back to the developer login screen again, so i'd say the developer session is lost as soon as the page loads. I checked the page, and the browse mode is IE8 and document standards is IE8 Standards. Odd.
                • 5. Re: Skillbuilders Modal Page (2.0.0) and IE8 Session Lost/Logs Out
                  pjflynn
                  I am experiencing similar issues with the Modal Page plug in.

                  Browser IE7 developer session lost when navigating to page with modal plugin. Application authentication SSO. Only occurs on first occurrance, subsequent navigations to modal page, session sticks.

                  Browser Chrome (Portable) v 14 developer session ok when navigating to modal page.

                  The theory regarding corporate settings for IE could hold sway, as I am experiencing this issue on a restricted Government site.

                  Regards

                  Paul
                  • 6. Re: Skillbuilders Modal Page (2.0.0) and IE8 Session Lost/Logs Out
                    dmcghan
                    Hi All,

                    Many this is really cracking me up... It seems that this is only affecting developers (I believe we have some consensus on this) and only when in IE... But NO DEVELOPERS SHOULD BE IN IE! :) Sorry I couldn't resist, yes I understand it's not always your choice.

                    Okay, let's figure this thing out. Since I can't reproduce the problem I need you all to do my testing for me.

                    Close and open your browser, log into a workspace and then run an application with a modal dialog.

                    Now BEFORE you navigate to the page that opens the modal, press F12 to open developer tools and go to the network tab. Click on capture and THEN navigate to the page that opens the modal and THEN open the modal.

                    Now go back and stop the network capture. There should be two important GET requests that start with something like "/pls/apex/f?...".

                    I want the cookie information from both of those get requests. Are there any differences?

                    Regards,
                    Dan

                    blog: http://DanielMcghan.us/
                    work: http://SkillBuilders.com/APEX/
                    twitter: https://twitter.com/dmcghan
                    • 7. Re: Skillbuilders Modal Page (2.0.0) and IE8 Session Lost/Logs Out
                      TexasApexDeveloper
                      Dan,
                      Its the Ghosts of previous IE applications coming to haunt you... They don't like APEX and how it makes IE look so... clunky/crappy/pick your favorite adjective.. Some of us have to support ONLY IE environments.. They are upgrading all machines in my office to Windows 7, with IE 9, however they are including FF 14, but not with Adobe Flash.. SO doing charts and stuff is kinda hard to develop.. They also lock the machines down so you CAN'T install flash..

                      Lovely, just bloody lovely..

                      Thank you,

                      Tony Miller
                      Dallas, TX
                      • 8. Re: Skillbuilders Modal Page (2.0.0) and IE8 Session Lost/Logs Out
                        Tom Petrus
                        Dan McGhan wrote:
                        Now BEFORE you navigate to the page that opens the modal, press F12 to open developer tools and go to the network tab. Click on capture and THEN navigate to the page that opens the modal and THEN open the modal.
                        Unfortunately the fun already stops here as IE8 has no built-in mechanisms to capture web traffic. The network tab has only been integrated starting with IE9... For alternatives you can check out this stackoverflow question. They however involve installing, which is yet another great thing about corporate environments. In other words: not allowed unless you can get user support to log in and do this for you. I'll see if i can.
                        • 9. Re: Skillbuilders Modal Page (2.0.0) and IE8 Session Lost/Logs Out
                          dmcghan
                          Tom,

                          Wa, wa, wa, waaaaaaa... :)

                          I appreciated you trying to move forward. If you're unable, hopefully someone will have experienced the problem in IE9 and be able to help. Or perhaps someone else will be able to install one of those alternatives.

                          I've been reading up on a lot of stuff like the following:
                          http://www.softwareprojects.com/resources/programming/t-how-to-get-internet-explorer-to-use-cookies-inside-1612.html

                          If that's the problem then I don't really understand as this is all in the same domain (perhaps a bug?). What's odd to me is that the developer session is what's affected, not the end user session. I would expect both or none to work.

                          Here are examples of those cookies being set (developer then end user):
                          Set-Cookie     ORA_WWV_USER_63113759365424=9DC46E32EEDD246B5726C463C64C56E9;path=/pls/apex;HttpOnly
                          Set-Cookie     MY_APP_COOKIE=951A920980A4464B74588CE60BABEF95;HttpOnly

                          The only difference is the path. Again, I don't see the problem because the path for both should be the same. An easy test to rule out the path setting would be to go into your application > Shared Components > Authentication Schemes. Select the current authentication scheme, scroll down to the Cookie Settings and populate the path with the correct value (may be different than /pls/apex or may be the same).

                          Then run the app (make sure you login after making the change above) and then open a modal and after it closes try navigation to another page in the app. Do you have to login again?

                          Hopefully we'll figure this out in time...

                          Regards,
                          Dan

                          blog: http://DanielMcghan.us/
                          work: http://SkillBuilders.com/APEX/
                          twitter: https://twitter.com/dmcghan
                          • 10. Re: Skillbuilders Modal Page (2.0.0) and IE8 Session Lost/Logs Out
                            Tom Petrus
                            I tried with Fiddler.
                            I logged in to the developer environment, selected an application that uses the plugin, and select run application. I tried going from that first page or first hopping to another page (no cookies in both cases though). Then going to the page with the plugin, a cookie is picked up:

                            Response sent 66 bytes of Cookie data:
                            Set-Cookie: ORA_WWV_USER_63129592694612=89BC801D8BB32A2A; path=/apex; HttpOnly

                            That is the only cookie being picked up though, and i'm not seeing cookies when navigating to other pages (as developer).
                            When re-navigating to this page when my developer session has been lost:
                            Response sent 66 bytes of Cookie data:
                            Set-Cookie: ORA_WWV_USER_63129592694612=33C2948C280EA2F3; path=/apex; HttpOnly
                            (not much of a difference.)

                            I then tried your suggestion of changing the cookie path, in my case "/apex/". However, again no dice. Cookie still the exact same as above.

                            Also, the session is not lost when you open a modal, it is lost the moment you load (?) a page with the plugin. When it has loaded and you haven't even opened a modal dialog, clicking "edit page" will direct you to the developer login.
                            • 11. Re: Skillbuilders Modal Page (2.0.0) and IE8 Session Lost/Logs Out
                              dmcghan
                              Tom,
                              Also, the session is not lost when you open a modal, it is lost the moment you load (?) a page with the plugin. When it has loaded and you haven't even opened a modal dialog, clicking "edit page" will direct you to the developer login.
                              That's very interesting - a big misunderstanding on my part. Can the others in this thread confirm this?

                              Tom, could you send me an email?

                              Regards,
                              Dan

                              blog: http://DanielMcghan.us/
                              work: http://SkillBuilders.com/APEX/
                              twitter: https://twitter.com/dmcghan
                              • 12. Re: Skillbuilders Modal Page (2.0.0) and IE8 Session Lost/Logs Out
                                Tony F.
                                Hi Dan,

                                Didn't realise this thread would take off like it has but based on Tom's findings wiith regards to session id's being lost, I can confirm the following using IE8:

                                1) Any page that is using the Modal plugin via a Dynamic Action - when running this page in IE8, all works fine but when you press the "Edit Page n" button on the developer toolbar, you are immediately logged out and sent back to the Oracle ApEx login screen.

                                2) Again, same as point 1 but instead of pressing the "Edit Page n" button in the developer toolbar but you instead press the "Session" button, you will find that you have basically lost your current session id and find that you are presented with a new Oracle ApEx login screen. Based on this, Tom's statement in my view and findings is correct:

                                "Also, the session is not lost when you open a modal, it is lost the moment you load (?) a page with the plugin. When it has loaded and you haven't even opened a modal dialog, clicking "edit page" will direct you to the developer login."

                                3) Another scenario to confirm that the session id is actually lost immediately you run your application, that has this plugin installed within the Shared Components, is by going to a page in your Oracle Apex app that does not have a Dynamic Action call to the Modal plugin. If you run this page, take note of your current session id in the URL above. Now press the "Session" button with the developer toolbar and ensure that you are on the session tab with this popup screen. If you compare the session id in this popup screen, you will find that it differs from the session id in the above URL, so we have already lost the session just by running the application.

                                Again, this does not matter if the page has the Dynamic Action or not, from my findings, you have lost your current session as soon as you run the appliciation, with any app that has the Modal Plugin installed at the Shared Components layer.

                                4) Based on the above, I also tested another application within my environment (IE8) that doesn't have the Skillbuilder's Modal Plugin installed at all and had no issues with the above three scenarios. All session id's matched when clicking both "Edit Page n" or "clicking "Session" buttons in developer toolbar.

                                Dan, hope the above helps.

                                Tony.
                                • 13. Re: Skillbuilders Modal Page (2.0.0) and IE8 Session Lost/Logs Out
                                  Tom Petrus
                                  Tony F. wrote:
                                  3) Another scenario to confirm that the session id is actually lost immediately you run your application, that has this plugin installed within the Shared Components, is by going to a page in your Oracle Apex app that does not have a Dynamic Action call to the Modal plugin. If you run this page, take note of your current session id in the URL above. Now press the "Session" button with the developer toolbar and ensure that you are on the session tab with this popup screen. If you compare the session id in this popup screen, you will find that it differs from the session id in the above URL, so we have already lost the session just by running the application.
                                  Tony,
                                  That is odd. I tried to reproduce this, but i can't. My app for example has many pages without the modal popup, and only 1 with it. I can safely log in, go to all pages except the one with the plugin, and everything will keep working. It is only when you go to the plugin page things have been lost, and that makes sense, since you wouldn't be able to even run the "session state" report without a developer session.
                                  The only way i can think of doing what you describe is by not navigating through the application by using its navigation (links, tabs, ...), but by going back in the developer screens (edit page) and change pages there, then running them. This causes the page being runned having the session id of the developer session, but only initially. When looking in session state it will indeed still report the originally obtained session, and when refreshing the page or navigating back to it (for example click the breadcrumb of the page you are on), the correct session id will be in the url (also evident by inspecting links including &SESSION.).
                                  It'd be rather weird to have a whole application affected by a plugin, because it doesn't even load on pages not including it, but that is my experience.
                                  • 14. Re: Skillbuilders Modal Page (2.0.0) and IE8 Session Lost/Logs Out
                                    dmcghan
                                    Hi All,

                                    Is anyone using the gritter notification plug-in like I am here in my demo (the one on top):
                                    http://apex.oracle.com/pls/apex/f?p=46685:MODAL_PAGE:0

                                    I've tracked down my issue to this plug-in. However, if no one is using this plug-in then we are back to square one where I'm not able to reproduce.

                                    Let me know.

                                    Regards,
                                    Dan

                                    blog: http://DanielMcghan.us/
                                    work: http://SkillBuilders.com/APEX/
                                    twitter: https://twitter.com/dmcghan
                                    1 2 Previous Next