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?

Similar Messages

  • When I close Firefox, the windows closes normally, but firefox.exe still appears in Processes in Task Manager. I have to End Process to open Firefox again, and it goes to Restore Last Session page.

    When I close Firefox, the windows closes normally, but firefox.exe still appears in Processes in Task Manager. I have to End Process to open Firefox again, and it goes to Restore Last Session page.
    Quando eu fecho o Firefox, a janela fecha normalmente, mas o firefox.exe ainda aparece no Processos do Gerenciador de Tarefas. Eu tenho que Finalizar Tarefa pra abrir o Firefox de novo, e quando abre vai para a página de Restaurar Última Sessão.

    I have the same problem - every time I close firefox (using either the red x or by selecting file ---> exit) the program appears to close normally, but the firefox.exe *32 process continues to run. If I try to re-open firefox normally I get a message that the program is still running and I need to go into task manager and manually kill the process.
    I could also kill the process from the command prompt, but both of those methods are slow and annoying. This issue has only been occurring for the last 24 hours or so; to the best of my knowledge I haven't downloaded any new software or updated any plug-ins that would have caused a switch from firefox's normal awesomeness. Norton doesn't show any new viruses or other nastiness on my computer.
    I'm running 64 bit Windows 7 Home Premium edition.

  • Is there anyway to get an App Tab to stay when I close the program then reopen it?...they always disappear when I open a new window etc.

    Is there anyway to get an App Tab to stay when I close the program then reopen it?...they always disappear when I open a new window etc.
    And I thought the whole point of an App Tab was to always have those tabs there no matter what window is open all the time period.
    It's a minor complaint but I would really appreciate the option to permanently have them there.

    I thought that app tabs would be more persistent, like pinning programs to the taskbar in Windows, but this is not the case.
    Instead, once you close a Firefox window, all its tabs and app tabs are lost.
    Essentially, this means that the close button in the upper-left corner of a Firefox window is now a "kill all open tabs and loose all App Tabs without warning++ " button. That is not cool.
    I realize that "Firefox > Quit Firefox" behaves as intended, but many people use the more obvious red close button instead of the menu to close windows on a Mac. And it is easy to forget that the red button is now also an app-tab-death button. I've lost my app tabs many times to this issue. It is an unforgiving user interface decision which hampers the usability of app tabs. Why should I go through the extra clicks of setting up app tabs if I can loose them so easily?
    Ideally, App Tabs could be saved separately from the currently open windows (perhaps create an option to save then to a special Tab Group that opens on startup?). App tabs would be exceedingly useful to me if they weren't so easy to loose.
    On that note, saving Tab Groups would also be a useful functionality.
    ++ You will get a "closing multiple tabs" warning if you have only one window open, and that one window has multiple non-app tabs open, and you have enabled the warning in Preferences. But this too unreliable to help prevent the loss of app tabs.

  • ADF in Jdev 10.1.3.2 - Wrong Page Opens When "Open Link in New Window" Used

    We are former Oracle Forms/Reports developers and Struts developers in the early stages of a new project using ADF in JDeveloper 10.1.3.2. We are all new to this development environment (though not new to Java), so apologies in advance if this is trivial.
    Our early work is based on samples extracted from Oracle's ADF Tutorial for Forms/4GL developers and is pretty simple at this stage. We have done little more than create a page layout and implemented skeletons of each page. As long as we click a link with the left mouse button, we can navigate from page to page as expected, no problem.
    The strangeness starts when we right click a link, and select Open in New Window. For example:
    (Note, all of this is taking place in our development environment: Jdeveloper running on our personal PCs / laptops, we have not even tried to deploy to an application server yet):
    1. Open page 1.
    2. Error 1: Right click button or tab to page 2, select Open in New Window. Page 1, not page 2, will open in the new window.
    3. Close the new window so that the original page 1 is displayed.
    4. Left click a link to navigate to page 2. Page 2 is display as expected.
    5. On page 2, left click link back to page 1 (NOT the browser Back button). Page 1 is displayed as expected.
    6. Error 2: Right click a link to page 3, select Open in New Window. Page 2, not page 3 will open in the new window.
    7. Close the window containing Page 2. Left-click the link for page 3 and it will open as expected.
    8. On page 3, left click a link back to page 1 (NOT the browser Back button). Page 1 is displayed as expected.
    9. Now right-click the same link to page 3 as in step 6 and select open in new window and page 3 will display as expected.
    The logs mention "Reusing a cached session application module instance" and I think this is where our trouble is. I considered turning this caching off (if possible) to see if it clears up the problem, but (a) I don't see where to do that and (b) it seems like we would want to use any caching features once we go to production.
    I suspect we have some minor configuration error somewhere as it seems unlikely that ADF applications would all come with a "No opening in new windows allowed" warning. Or, maybe we are just missing the boat on why this shouldn't work. Either way, any useful guidance would be appreciated.
    Thanks!

    Pravin
    We dont get number datatype if you have SQL92 selected as SQL Flavour. So i dont think this would help. SQL TYPE Map is JAVA basically in my project. Do you want me to import some of oracle.jbo.domains specifically or something else you want me to do
    regards
    Amit

  • When I open a new window, the spinner does not stop, or the window open

    I have a MBP 3 yrs. old, running Snow Lep. When I open a new window, the spinner in the address bar spins and window does not open unless I click on the X and stop the spinner. Some times this doesn't work either. It just hangs up trying to open the next window.

    The given are very little details about your problem so please elaborate. 
    2. on each page load you have to verify whether the session variable. if "IsLoggedIn" exists and its value is "true" then you can show the requested page otherwise redirect to login page.
    if(Session["IsLoggedIn"] == null || Session["IsLoggedIn"] != "true")
    Response.Redirect("login.aspx");
    Better way: use a master page. In the load_page event, check the session. Thus, you wouldn't need to write the method to check in every page, just in the master page.
    Noam B.
    Do not Forget to Vote as Answer/Helpful, please. It encourages us to help you...
    Masterpage is a better idea.
    But The login page shouldn't use MasterPage OR need to have logic to check before redirecting to login page if you are already in Login page.
    Otherwise you will get into Recursive Redirection error.
    hope this helps.

  • Firefox 3.6.3 closes the first window when I close the 2nd window

    Firefox 3.6.3 seems so buggy. When I have 2 windows open and I close the 2nd one, the first one also closes. When I open a new window, it sometimes shows up minimized in the top left corner.
    == This happened ==
    Every time Firefox opened
    == I started using FF 3.6.3

    See http://kb.mozillazine.org/Firefox_crashes and [[Firefox crashes]]
    Set the pref [http://kb.mozillazine.org/browser.sessionstore.max_resumed_crashes 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.
    See https://wiki.mozilla.org/Session_Restore#Preferences
    http://kb.mozillazine.org/Browser.sessionstore.max_resumed_crashes
    See also http://kb.mozillazine.org/Session_Restore#Firefox_keeps_crashing_after_restoring_a_session

  • Safari.1.1lion when i open a new window it opens as the old version without the reading list button or the download button why is that ?

    so i downloaded the new safari version safari.1.1lion and i installed it and i love it but when i open a new window or i close safari and open it again it opens like the old version (the safari leopard ) it doesnt have the doenload button or  the reading list button . it only opens as the new version if i restart the computer why is that.

    I did find the problem... It was the DivX Plugin for Firefox. I just found I wasn't using it. I went to Add/Remove Programs and uninstalled it. FYI I am running Windows 7.

  • History window opens by default when i open a new window or restart firefox. How can i get rid of that ? its annoying.

    History window opens by default when i open a new window or restart firefox. How can i get rid of that ? its annoying

    If the History sidebar is closed when you close Firefox and doesn't stay closed on the next start then that can be problem with the file localstore.rdf in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder]
    Delete localstore.rdf or rename the file to localstore.rdf.sav in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder] to test if the file is corrupted.<br />
    See http://kb.mozillazine.org/Corrupt_localstore.rdf<br />
    (caution: do not delete the localstore.rdf file in the Firefox program installation folder)
    Note:<br />
    Deleting the file [http://kb.mozillazine.org/localstore.rdf localstore.rdf] will reset the customizations of the toolbars to the defaults.<br />
    You can rename "localstore.rdf" to "localstore.rdf.sav" to test if that solves it.<br />
    Then you can restore the customization by copying "localstore.rdf.sav" to "localstore.rdf" if it didn't work.<br />

  • When i create a new window, firefox Yanks me back to where i was and i dont want to be yanked back.

    i duplicate current pages by create new windows on a very frequent basis;
    to do this, i go to the top of the page that i want to duplicate and right-click and click on Open Link in New Window;
    I specifically want to duplicate the page i am on in another Window, not a new tab;
    Because
    Duplicating the current page to Open Link in New Tab, gives tabs on the top of my screen;
    Duplicating the current page to Open Link in New Window, gives 'tabs' on the bottom of my screen;
    I want 'tabs' to show on the bottom of my screen and to do that i have to Open Link in New Window;
    My question and What is happening, is that firefox is yanking me back to the page that i have just duplicated by right-clicking at the top of the page and clicking on Open Link in New Window;
    When i create the new Window, firefox yanks me back to the page that i just duplicated and i dont want to be yanked back to that page;
    I want to stay on the page that i just duplicated.
    I have tried changing the way tabs work in Options but nothing checked or unchecked results in the specific way i want to have new Windows open and STAY on that newly created Window and not be YANKED back to the window i duplicated.

    The original window did not have a Flash object, but does the window that hides itself contain a Flash object? That is the usual pattern for this bug in the plugin's protected mode feature.
    If you have not already tried disabling it, the following pages/posts provide different ways to do that:
    * Adobe support article under the heading "Last Resort": [http://forums.adobe.com/message/4468493#TemporaryWorkaround Adobe Forums: How do I troubleshoot Flash Player's protected mode for Firefox?]
    * Manual steps: https://support.mozilla.org/questions/968190?page=5#answer-509209
    * Batch file to automate the manual steps: https://support.mozilla.org/questions/982093#answer-518078
    Flash needs to completely unload from memory (restarting Firefox might help) before this would take effect.
    More history: [https://support.mozilla.org/questions/955659 Opening New Windows and Shockwave Flash]

  • How can I make firefox give the focus (the cursor) to the address bar when I open a new window - as it does when I open a new tab (to about:blank)?

    When I open a new tab using CTRL-T, the address/awesome bar has the focus.
    When I open a new window using CTRL-N, it does not.
    Can the behaviours be made consistent via setting a configuration option or key?
    Thanks in advance for any help!

    Hello wodow, please check it in [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode#firefox:linux:fx27 safe mode], do you have the same behaviour ? DO NOT reset, select "Start in Safe Mode".
    thank you

  • When I open a new window, it doesn't attach itself to the bottom toolbar? I'm using XP Pro and Firefox 6.0.2.

    It's explained pretty well in my initial question. Not sure what else you would need in the way of details.
    I will say it's been going on for a month or so, and it happens every time I start Firefox, and every time I open a new window.

    Thank you for taking the time to leave an answer for me, Poochie1. I really appreciate your attempt at helping me.
    Unfortunately, as smart as I thought I was when I asked the question, I apparently wasn't that smart, because I didn't explain my problem so you'd know what the heck I was talking about.
    I think it's because I'm probably not using the correct terminology. I'll try again.
    When I open a new window, it just kind of floats on the screen. Before this new update, I could open a window and it was lined up with the start taskbar located at the bottom of the screen. Sometimes the new window will cover up the taskbar partially, and sometimes completely. I have to move it up and align it with the taskbar. Then, when I open another new window, I have to line that one up with the window underneath it.
    I hope that description is better than my first one, and I hope you can make some sense out of it, Poochi (and anyone else who happens by here).
    Again, thank you for your help.

  • Since installing the latest version... when I open a new window it opens everything I have minimized too... very annoying. How can I fix this, I mimimize to go back to a window not have multiple windows open.

    since installing the latest version... when I open a new window it opens everything I have minimized too... very annoying. How can I fix this, I minimize to go back to a window not have multiple windows open.
    == This happened ==
    Every time Firefox opened
    == after installed last version...

    Well, then isn't there some way to induce Firefox to give Windows parameters that make it open the fershlugginer window in the *same* position, instead of an offset position?
    Dafydd

  • I am not able to see toolbars, when I open a new window that window is not visible, if I open from bookmarks and there is music playing I hear it but canNOT SEE the websites.

    I am not able to see toolbars, when I open a new window that window is not visible, if I open from bookmarks and there is music playing I hear it but canNOT SEE the websites. I was able to get window open from the help "window" and open sites from there just not from new: window tab or bookmarks those stay invisible? I tried the help suggestions, safemode,etc.

    Hi CMorenoOT,
    This prompt is usually displayed when your Apple ID needs to be configured for the iTunes Store. You'll want to run through the additional steps to setup your country, and payment information.
    iTunes: How to set up an Apple ID within iTunes
    http://support.apple.com/kb/HT2731
    Tip: If you are trying to create an account using an existing Apple ID, like your iCloud email address, you will receive a prompt telling you that your email address is already an Apple ID. Simply tap Continue, and then tap Use Existing Account on the following screen.
    - Next, you'll be required to enter your billing information. To choose a different Credit Card type, tap one of the available options, and then tap Done. You will not be charged until you make a purchase.
    - Once you've filled out all of the fields for your billing information, tap Next.
    For more information:
    Using an existing Apple ID with the iTunes Store and Mac App Store
    http://support.apple.com/kb/HT2589
    Thanks,
    Matt M.

  • New problem, Lycos Mail is my home page. When I open a new window I usually get Google search, which is what I want. Now, somehow when I open a new window I get Yahoo search. How do I change it back to Google? Thank you, Randy

    New problem, Lycos Mail is my home page. When I open a new window I usually get Google search, which is what I want. Now, somehow when I open a new window I get Yahoo search. How do I change it back to Google?
    Thank you,
    Randy

    A new tab opens by default as a blank tab (about:blank).
    If that isn't the case then an extension has changed that behavior.
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    You can middle-click or hold down Ctrl and left-click the Home button on the Navigation toolbar to open the Home page in a new tab.
    You can look at this extension to set which page to open in a new tab:
    * NewTabURL : https://addons.mozilla.org/firefox/addon/newtaburl/

  • Version 33, problems when moving tab to new window, then if you open a new tab in that window it doesn't switch to it unless you use Ctrl-Tab?

    Version 33, problems when moving tab to new window, then if you open a new tab in that window it doesn't switch to it unless you use Ctrl-Tab.

    Type '''about:preferences'''<enter> in the address bar.
    Select '''General.''' Look for '''Tabs.'''
    Turn on '''When I open a link in a new tab, switch to it immediately'''

Maybe you are looking for

  • How can i print data in smartforms from ABAP program.

    Dear gurus: in my abap program i process require data, and saved in a internal table. how can l print the data in smartforms.? who can give me a code sample is better:) reward all helpful advise.

  • HT1766 How do I recover pictures and videos not backed up, nor in icloud

    I recently bought an iphone 4s and had them transfer my information from the old device to the new one.  Later I noticed that all the pictures had been transfered from itunes album covers to my camera roll in doubles also, I went home and ignorantly

  • How can we sum three members in pov and generate report

    Hi Everyone I am trying to generate report in Hyperion Financial reporting studio 9.3 . I have to pov with one dimension name BAH and we have five members under it. I have to sum four members and generate report and one report with one dimension . sh

  • Data Import/Export

    I am new in SAP. Q: Is it possible to use the importer tool (importing from excel) but change or add fields except from the default ones in order to import more data? Is it any way to link a desire column to this imported tool. If we are not able is

  • Ragrding internal number ranges fro BP

    Hi, i want to use the internal no ranges[BP] for SAP CRM and EXternal system not like internal no range for one system and another one external number ranges. Can you anyone how to setup both system internal no ranges and wht are the things are requi