NEW SESSION - Firefox, IE and GLASSFISH

Hi all,
Here is my issue:
I have One application on Glassfish using EJB3,JPA and JSF.
Users can log to this application and have severals sessions opened simultanoulsy as each session is having a connection to its own database
How do I force a new session (particularly in Firefox as IE<=8 has no issue) and have the user using the same application but different databases in different tabs or windows of Firefox.
I tried almost all and get blocked
Many thanks in advance for your answers
Nicog

Hi BalusC
Great Blog by the way...
Let me explain.
My architecture is as follows: using JSF, Glassfish and ...SQL Server!! (! i know but this is mandatory requirement as our application is full web version of an existing ERP application already sold and installed by more than 1000 of our customers...
I am using
JSF-->JSF Managed Bean (Session for some and Request for almost all when logged )-->EJB Interface-->EJB Impl-->Entity-->Database
I have a persistence Unit (using JTA and CMP) per database , each using a connection pool managed by Glassfish.
At the begining of my application, the user (when logging), choose a database, ...enter logging info and connect.
All databases have the schema but not the same data
You have to see in our case, a database as a company with particular configuration, customers, orders, invoices, contacts....
Our application is ERP that our customers uses to managed several companies simultanously .
Also, I need Session Scope as there is configuration data that I need to keep over all pages.
This configuration data is depending on the database connected to.
When selecting the database (company) for combo in logging form, The only way I found is fisrt to check is database(company) exists and can be connect to using at first begining Persistence.CreateEntityMangerFactory.. (i know that this is not J2EE and CMP but merly used in Java SE environments..).
This step is only used for checking database
Then, if creation did not generate a Persistence Exception , I can the use CMP and an EnityManger in EJB by JNDI lookup (as DI is not possible because you need constant in unitName)
ex :
@PersistenceContexts({
   @PersistenceContext(name="pu/SOCIETE1", unitName="SOCIETE1"),
   @PersistenceContext(name="pu/SOCIETE2", unitName="SOCIETE2"),
   @PersistenceContext(name="pu/SOCIETE3", unitName="SOCIETE3"),
   @PersistenceContext(name="pu/SOCIETE4", unitName="SOCIETE4"),
   @PersistenceContext(name="pu/SOCIETE5", unitName="SOCIETE5"),
   @PersistenceContext(name="pu/GENESYS_EXEMPLE", unitName="GENESYS_EXEMPLE")
@Stateless
public class SomeEJB extends CommonEjbImpl implements SomeEJBLocal  {
    private EntityManager em;
    @PostConstruct
    public void init() {
         String puName = (String) FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("database"));
         em = (EntityManager) new InitialContext().lookup("java:comp/env/pu/"+puName);
    @PreDestroy
    public void cleanup() {
        if (em != null && em.isOpen()) {
            em.close();
}All works perfectly under IE6,IE7 and IE8 (forcing some parameter at launch of IE8).
But due to session management of Firefox (sharing session cookie among all exe or tabs)...session data is kept when opening a new tab.
What I did to avoid confilcts, is to clear FacesContext SessionMap when redirecting to Login page ...but i still can NOT log to multiple PU simultanously....
I do not see where DAO pattern could help me ...
Am I missing something here?
Many thanks in advance for your quick answer
Regards,
Nicog

Similar Messages

  • Whenever I open new tabs Firefox crashes and the browser window closes automatically.what will I do?

    I am facing this problem since a month.I never faced this problem before.I always feel good to use Mozilla Firefox as my browser.I used to open multiple tabs in a same browser window.For example- in a tab I logged in to Facebook,at same time I might be downloading songs or something else or open another site in the other tab.It might be 2 or 3 tabs sometimes.But now a days,I am facing the problem whenever I open multiple tabs.Its unusual and so much annoying.The Firefox crashes and the browser window closes showing a messege to send an error report.Please Help me.
    N.B. - I am using the Windows service pack 2.
    RAM - 2 GB
    Hard disk MEmory - 250 GB.

    I had this same problem. Seems to be caused by the web developer tool bar FF extension (this started happening after a recent update to that extension). After disabling it, my FF is back to normal :)

  • Function Module to open a new session displaying a method of a class

    Hello All,
    I have a method A of class B.
    Now, in my current session, I have a button. When the user clicks on this button, what I expect is that a new session be opened and in the new session method A of class B be displayed.
    This is similar to the debugger, wherein, in the debugging mode, we can bring up the context menu in the Source Code (Edit Control) tool, and then select "Go To Source Code".
    So basically, I am looking for a Function Module which does the same.
    I came across Function Module CC_CALL_TRANSACTION_NEW_TASK, however, this will only create a new session.
    I could specify the transaction as SE24, but it then opens a new session with this transaction. That is it.
    My objective is to display the method of a class in a new session.
    Is there any Function Module in this case?
    Regards,
    Mithun
    Edited by: Mithun Kamath on Aug 9, 2011 5:35 PM

    Hello Sandra,
    Thank you very much. That was exactly what I was looking for.
    However, instead of calling EDITOR_PROGRAM directly, what I instea did was the following:
    1) Created a RFC enabled Function module.
    2) Inside this function module, I wrote the following code:
      SUBMIT tpda_editor_start AND RETURN
       WITH prgm  = is_alert_det-program_name
       WITH incl = is_alert_det-include_name
       WITH dynp = space
       WITH line = is_alert_det-line_no.
    The parameters above were similar to the one proposed by you.
    Borrowed the above from the class CL_TPDA_SERVICES_TOOLS, method NAVIGATE_TO_SOURCE.
    The above is basically called in the debugger, when we use the context menu in the editor tool and invoke the "Goto Source Code" functionality. This eventually calls the EDITOR_PROGRAM FM.
    The reason why I did this is because when I was testing the FM, it did not allow me to specify the include as CL_TEST=====CM01. I do not know why, probably I was doing it wrong. But it gave me a message saying that the object does not exist in table TADIR.
    Anyway, I did the above steps and it worked exactly as I wanted it to.
    I would like to thank you again.
    Best Regards,
    Mithun
    P.S. Forgot to add, I called the above RFC enabled FM as a new task.
    Edited by: Mithun Kamath on Aug 10, 2011 4:19 PM

  • Calling new session

    hi Friends,
    i am using the FM ABAP4_CALL_TRANSACTION' STARTING NEW TASK 'TEST' for calling new session FK03 tcode and Skip the frist screen, i have passed 2 parameters lifnr(LIF) and bukrs(BUK).This Values coming with NEW session, but in FK03 frist screen check box are there for Address data, it is asking Select at least one processing option,
    how to select the processing option. please give me solution.
    Thanks,
    santha

    Hi, you will need to do a partial BDC here.  Please test out the example below. 
    report zrich_0001.
    data: messtab like bdcmsgcoll occurs 0 with header line,
          bdcdata like bdcdata occurs 20 with header line,
          mode(1) type c value 'E'.
    parameters: p_lifnr type rf02k-lifnr,
                p_bukrs type rf02k-bukrs.
    perform bdc_dynpro      using 'SAPMF02K' '0106'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RF02K-D0610'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RF02K-LIFNR'
                            p_lifnr.
    perform bdc_field       using 'RF02K-BUKRS'
                            p_bukrs.
    * These are the checkboxes
    perform bdc_field       using 'RF02K-D0110'
                                  'X'.
    perform bdc_field       using 'RF02K-D0120'
                                  'X'.
    perform bdc_field       using 'RF02K-D0130'
                                  'X'.
    perform bdc_field       using 'WRF02K-D0380'
                                  'X'.
    perform bdc_field       using 'RF02K-D0210'
                                  'X'.
    perform bdc_field       using 'RF02K-D0215'
                                  'X'.
    perform bdc_field       using 'RF02K-D0220'
                                  'X'.
    perform bdc_field       using 'RF02K-D0610'
                                  'X'.
    call function 'ABAP4_CALL_TRANSACTION'
      starting new task 'TEST'
               exporting
                 tcode                         = 'FK03'
                 mode_val                      = mode
                 update_val                    = 'S'
               tables
                 using_tab                     = bdcdata
    *                mess_tab                      = messtab
               exceptions
                 call_transaction_denied       = 1
                 tcode_invalid                 = 2
                 others                        = 3.
    *      Form  BDC_DYNPRO
    form bdc_dynpro using  program dynpro.
      clear bdcdata.
      bdcdata-program = program.
      bdcdata-dynpro = dynpro.
      bdcdata-dynbegin = 'X'.
      append bdcdata.
    endform.
    *      Form  BDC_FIELD
    form bdc_field using fnam fval.
      clear bdcdata.
      bdcdata-fnam = fnam.
      bdcdata-fval = fval.
      append bdcdata.
    endform.
    Regards,
    Rich Heilman

  • When i open a new tab i get a tab with 2 blue bars, instead of one - the one on top of the site - and a little firefox dropdown - and when i start the next session firefox crashes???

    When clicking a link - a new tab opens. But the new tab which opens looks wired: There are 2 blue bars - the one you get on each session(where the red x is which closes everything) - I don`t know how you call this. This 2nd blue bar is located directly under the "normal" one and has got - on the left hand side- a firefox dropdown menue(when you click it you get: New Tab, Start private browsing, edit, save page as and so on.
    I can close the session as always but when i start the next session a view hours or a day later then firefox opens all the tabs from the session before as individual windows - and then it crashes. This happens 2 or 3 times - then i see a window where i am asked to either restore the old session(which doesn`t work - it always crashes again) or start a new session - which works.
    This is very annoying. Please tell me what to do.
    Thank you
    richard

    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the files sessionstore.js [2] and sessionstore.bak in the Firefox Profile Folder.
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.<br />
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    See also:
    * [1] http://kb.mozillazine.org/Session_Restore
    * [2] http://kb.mozillazine.org/sessionstore.js

  • Found 0 results for When I open Firefox I get a "Well this is embarrassing" message. Makes no difference if I click on "Start a new session" or "Restore", it crashes. Then I get a "crash report" which apparently goes nowhere. I have uninstalled and reinst

    Found 0 results for When I open Firefox I get a "Well this is embarrassing" message. Makes no difference if I click on "Start a new session" or "Restore", it crashes. Then I get a "crash report" which apparently goes nowhere. I have uninstalled and reinstalled twice with the same result, what do I do to restore Firefox?
    == This happened ==
    Every time Firefox opened
    == Last week when I opened Firefox.

    The crash reporter doesn't appear to be working...Here are the details that were contained in the report:
    Add-ons: {0538E3E3-7E9B-4d49-8831-A227C80A7AD3}:0.9.10.2, :3.63,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.6.3
    BuildID: 20100401064631
    Comments: I get an error message, " well, this is embarrassing"..and Firefox crashes
    CrashTime: 1274739017
    EMCheckCompatibility: true
    Email: [email protected]
    FramePoisonBase: 00000000f0dea000
    FramePoisonSize: 4096
    InstallTime: 1270304892
    ProductName: Firefox
    ReleaseChannel: release
    SecondsSinceLastCrash: 2699
    StartupTime: 1274738966
    Theme: classic/1.0
    Throttleable: 1
    Vendor: Mozilla
    Version: 3.6.3
    This report also contains technical information about the state of the application when it crashed.

  • Firefox hangs and I end, i start again, firefox asks, restore or new session, both go nowhere or firefox does not respond..help?

    Firefox hung up..I had facebook open in one tab and searched around the web in another. I tried to load USAtoday site and it hung up. I used task manager to end firefox. I started firefox again, window comes up, it ask if i want to restore or start new session..i have clicked both and it goes nowhere..have to end..downloaded firefox again..same result..

    If you close Firefox, then start Firefox in Safe Mode, does the problem still occur? For instructions on starting in Safe Mode, see [[Safe Mode]].
    If Safe Mode does, work, a possible culprit might be '''AFI News Headquarters Toolbar'''. Try disabling that without Safe Mode and see if the problem reoccurs.

  • I choose to save and quit when I close Firefox, but recently my pages dissapear on new session for few times. Is the new version unstable?

    I choose to 'save and quit' when I close Firefox, but recently my pages disappear on new session for few times. After I reopen firefox, it's only my default homepage left, all my other pages that I previously save before closing firefox are all gone. It has happened for a few times with this new version, which I do not have this kind of problem before with other version. I wonder is this version unstable? Or is there any other way to deal with it? Thanks!

    You should update to Firefox 3.6.13. See Help > Check for Updates.
    If you use [[Clear Recent History]] to clear the 'Browsing History' when you close Firefox then restoring tabs from the last session ("Save & Quit" or "Show my windows and tabs from last time") doesn't work.
    * http://kb.mozillazine.org/Session_Restore

  • Windows XP crashed and Firefox 5.0 closed improperly. When I relaunched it, I mistakenly clicked New Session button instead of Restore previous session. How can I get that session back now? Thanks

    I am on Windows XP/Firefox 5.0 Computer crashed overnight closing Firefox improperly. When I relaunched I got choice to restore previous session. By mistake I clicked on Start New Session. Now I cant restore that session through Menu, relevant buttons are greyed out. I cant see any pertinent information online either. I appreciate any help. Currently I am digging through the history but for some of these tabs I dont know when I opened them (may be a while ago).

    I don't have a good sense of what is going wrong.
    Was Firefox stable in step 3 -- open with no sessionstore.js file and then exit?
    If that was stable, it might be easiest to cull the open URLs from your sessionstore.js file and re-open the most important ones manually. You will lose the ''detail'' of your session on those pages (e.g., data you had entered into a form), but if that's okay, it might be the next step.
    I found a script on mozillaZine that will extract URLs from the sessionstore.js file; I just changed the formatting of the output. To run the script:
    (1) Return to your profile folder and rename sessionstore.js to sessionstore.old again, then copy it to a convenient location
    (2) Start Firefox (it should be in a new session)
    (3) Open the following link, select all (Ctrl+a), copy (Ctrl+c) to copy the script to the clipboard: http://dev.jeffersonscher.com/sessionstore_reader.txt
    (4) Open the <s>Error Console</s> <u>Browser Console</u> (Ctrl+Shift+j), click next to <s>Code</s> <u>the caret (>>)</u> and paste, then press Enter <s>or click Evaluate</s>
    (5) A file selection window should appear. Navigate to the convenient location and open sessionstore.old from there.
    (6) As long as the file is not corrupted, a new tab should open with a list of all the URLs the script found in the file. You can save this page for future reference if desired. Also, you can close the <s>Error</s> <u>Browser</u> Console now.

  • Firefox crashed and now will not start. Cannot create new profile or start in safe mode because Mozilla Crash Reporter appears and will not restart.

    Browing the web, Firefox crashed. Typical "this is embarrassing" window appeared and I could choose to restore or start new session. I tried to restore, and nothing happened. Mozilla Crash Reporter appeared, the option to quit Firefox seems to work but restarting just brings back the Crash Reporter. I tried uninstalling and reinstalling Firefox, but Crash Reporter persists. I tried looking through your articles on crash on startup, but I cannot open Profile Manager, nor start in safe mode, nor anything else, with that Crash Reporter popping up. I can't give you a crash ID as I can't type anything into Firefox address bar if I can't open the program. I'm running Windows 7 starter edition on a netbook. Honetly really only use Firefox on this machine, so help would be appreciated! Thanks.

    Maybe you did't understand my previous statement. There are no crashes in FF 3.6, There is no previous evidence FF 14 was ever here, I completely uninstalled all trace of Firefox, no app data, no preferences, no cache. I will upgrade to FF14 so I can send IDs,
    so here ya go.
    Crash ID: bp-fa9da320-92dc-47f7-afff-33e702120718
    AdapterDeviceID: 0x2a02
    AdapterVendorID: 0x8086
    Add-ons: {972ce4c6-7e08-4474-a285-3208198ce6fd}:14.0.1
    BuildID: 20120713134347
    CrashTime: 1342655269
    EMCheckCompatibility: true
    Email: [email protected]
    FramePoisonBase: 7ffffffff0dea000
    FramePoisonSize: 4096
    InstallTime: 1342655256
    Notes: AdapterVendorID: 0x8086, AdapterDeviceID: 0x2a02GL Context? GL Context+ GL Layers? GL Layers+
    ProductID: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
    ProductName: Firefox
    ReleaseChannel: release
    StartupTime: 1342655256
    Theme: classic/1.0
    Throttleable: 1
    URL: http://www.mozilla.org/en-US/firefox/14.0.1/whatsnew/?oldversion=rv:1.9.2.13
    Vendor: Mozilla
    Version: 14.0.1
    This report also contains technical information about the state of the application when it crashed.

  • I downloaded Firefox 4 and now Firefox doesn't offer to restore my session after I've rebooted. I really liked that feature of Firefox. How do I get it back?

    I was happy with Firefox as it was. I had the latest version and it worked perfectly. Then I was notified by Firefox that I should update to Firefox 4. If I'd known it would wipe out my cookies and would not include my "restore session" button that I liked so much, I would not have downloaded Firefox 4. It doesn't offer to restore my browsing session after I reboot and I can't find a way to tell it to do that. Please fix this ASAP and tell me how to make it work on my computer! Thanks.

    '''rweeks''':
    One of the changes in Firefox 4: '''''by default''''' Firefox 4 does not display the "Save Tabs and Exit" warning message when closing multiple tabs, but it can be turned back on by changing some preferences.
    *<u>Saving tabs was not removed from Firefox 4</u>, but it works a bit differently.
    **By default, Firefox 4 will not ask to save tabs, but instead it will always save your tabs on exit. You can restore them next time by choosing "Restore Previous Session" from the History menu, or pressing the restore button on Firefox's default home page.
    **''<u>Note: This was a decision by the developers. On this forum, we are all '''uncompensated volunteers''' here to help other users. The developes/employees of Mozilla/Firefox rarely, if ever visit here.</u>''
    Also make sure you do not clear "Browsing History" when using Clear Recent History:
    *https://support.mozilla.com/en-US/kb/Clear%20Recent%20History
    To display the "Save Tabs and Exit" message when closing multiple tabs, you can do the following:
    #Type '''''about:config''''' in the URL/Location/Address bar and press the Enter key
    #Accept the warning message (promise to be careful)
    #The preferences page/list will open
    #Filter = '''''browser.tabs.warnOnClose'''''
    #If its value is set to false, double-click on it (in the lower panel) to toggle its value to true
    #Repeat steps 4 and 5 for these following 3 preferences also:
    #*'''''browser.warnOnQuit'''''
    #*'''''browser.warnOnRestart'''''
    #*'''''browser.showQuitWarning'''''
    #**Note: last pref is new in Firefox 4b12, may need to add (boolean)
    #**Info/Instruction for using '''''about:config''''': http://kb.mozillazine.org/About:config
    #See:
    #*https://support.mozilla.com/en-US/questions/785169
    #*http://forums.mozillazine.org/viewtopic.php?f=23&t=2105039&p=10434467&sid=fd2a35945bb2c633687f7b50d8c53989
    #*http://blog.zpao.com/post/3174360617/about-that-quit-dialog

  • Sessions not working in Firefox, Safari and Chrome, but working in iexplore

    Hi,
    I have been running Tomcat 5.0.18 jdk 1.4. and have just upgraded to Tomcat 6.0.24 jdk 1.6..
    I have an app that you need to log on to in a jsp page. When succesfully logged in it redirects to a framed page with 3 pages in it.
    All elements of that framed page check for a valid session, if there is one, it displays itself, if not, it redirects back to the log on screen.
    This has worked fine for years in all browsers. But since upgrading, in Firefox, Safari and Chrome, when the parent framed page jsp checks for a session, its fine, it passes, but when the other sub-frame pages check for a session, it comes back as a new session, i.e. its not picking up the session that has just been validated and redirects to the login page. Iexplore still works fine. i.e. all 3 pages validate ok.
    Any ideas why these browsers are not pickng up the session?

    As a test, try putting an empty JSP in front of it that triggers the session to be created, and then redirects (with a HTTP meta refresh for example) to the frameset jsp to see if that fixes anything.
    If that fixes it, then I guess the pages load too quickly.

  • How can I start Firefox in a brand new session?

    I got onto a malware site that wants to scan my computer for viruses. There is currently a popup window that says "Threat Detected. Please click the Protect button to make your system safe." I don't want to do that.
    I can't close the popup by clicking the 'X' in the upper corner. No other options are available in Firefox. Everything is disabled until I press Protect.
    I restarted the computer and restarted Firefox, and the first thing I see is "Threat Detected".
    So I want to start a new session so the malware Tab won't open from the previous session.
    (I'm using Google Chrome to post this.)
    Many thanks....

    Delete [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder] to make Firefox forget the previous session.
    You will have to redo App Tabs and Tab Groups after deleting sessionstore.js.
    See:
    * http://kb.mozillazine.org/Session_Restore

  • Firefox crashes and when attempting to launch after the crash it won't and throw and error msg that js.3250 can't be found- but same file is in Mozilla directory. I must then download new 3.6.8 and lose all tabs.

    # Question
    Firefox crashes and when attempting to launch after the crash it won't launch; throwing an error msg that " js.3250 can't be found" - but same file is in Mozilla directory.
    I must then download new 3.6.8 and lose all tabs and history.

    I have a similar problem. Recently my FF8 has been crashing a lot. It regularly locks up an entire core of my PC and often just shuts down. It has just done it a moment ago and when it started back up it did the whole "this is embarrassing" thing and asked me if I wanted to reload my tabs. I deselected the one that I was trying to view as I suspected that it may have been the cause (unlikely; it was node4.co.uk) but anyway, let's skip it just in case. Click on the button to restore and up pops my homepage only. So all of my other tabs, which I was using for work incidentally, are gone.
    This is not the first time this has happened on FF8. It happened a lot recently on FF6 I think it was (so hard to keep track now, Mozilla) and I switched to Chrome as a result, but it turns out that it crashes even more than FF6 did. FF7 was a vast improvement but FF8 is so unstable/unpredictable for me at the moment that I think I'd rather use IE9 than this. It's driving me mental, clearly! I wish I could kill the process manually and have it retry restoring tabs. Hey, there's an idea Mozilla; give us a menu item that allows us to restore the session to how it started to try again or at the very least get a list of the pages we were looking at. They don't show up in Recently Closed Windows and the Restore Previous Session is greyed out too. Gah! Help!

  • 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

Maybe you are looking for