Window open lost session
I have a jsp app and it lost session when I try to popup new window
Googled around, millions of results but no helps
It seems problem is in my IE 8
If anyone has expeience with the issue, please give me a help. Thank you
Edited by: mycoffee on Jul 28, 2010 1:45 PM
Solved
Solution: Reboost the machine
Sorry guys
Similar Messages
-
Window.opener lost after submit on _self of a window
== Issue
==
I have another kind of problem with Firefox
== Description
==
My problem is:
1. main window (*1) opens a child window (*2) and save the reference to this new window in an array
2. the child window (*2) shows a "wait please" image and open on _self the real requested page which can take some time to be created; the new page shows some search fields, the user types the filter and press button for submit; after submit the content of the child window (*2) is the result of a select on DB
3. in the child window (*2) there is a button which opens another child window (*3)
The problem is here: the child window (*2) search the main window (*1) using window.opener but its window.opener is itself.
I need to save the references of all opened windows, so I can close them all when I close the main window (*1)
For an example (more simple) click here:
http://asp.rds-software.com/asptest/window.parent/mainwindow.html
== Firefox version
==
3.6.3
== Operating system
==
Windows XP
== User Agent
==
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
== Plugins installed
==
Adobe Acrobat 8.2.2.217
Java(TM) 2 Platform Standard Edition 5.0 Update 6 5.0.60.5
Microsoft DRM (Netscape Network Object) 9.0.0.4503
Microsoft DRM (Netscape Plugin) 9.0.0.4503
Mozilla Default Plug-in 1.0.0.15
Shockwave Flash 9.0.124.0
Windows Media Player Plug-in Dynamic Link Library 3.0.2.629
Windows Presentation Foundation 3.5.30729.1Hi,
try 10.1.3.3 - I tested it with this release and here it worked fine.
Frank -
Whenever I try to open a new window, nothing happens. This includes clicking ctrl+N and through the drop down menu.
Also, whenever I start firefox to browse the internet, it always open with a Session Restore with the previous session listed, even though I closed all the tabs and shut it down normally without any prompts telling me about saving multiple tabs.
Finally, when I tried to troubleshoot this problem, the tab never appeared. The only options that work on the Help Menu are:
- Firefox Help (after a few clicks)
- Report Broken Web Site
- Check for Updates
- About FirefoxStart Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode
*https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
There are other things that need your attention.
Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
*Shockwave Flash 10.0 r45
Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
*http://kb.mozillazine.org/Flash
*http://www.adobe.com/software/flash/about/ -
Lost Preference: "(Automatically) Reopen all windows from last session"
I was delighted that Safari, under TIGER, finally offered a preference option such that all windows open last session would automatically open when Safari re-starts. This preference seems to be missing under LION. Now I'm back to using the drag-down command "History/Reopen..." every time I restart Safari or my Mac.
Anyone know of a LION workaround?
Keith, on Dec1, 2011Thanks Carolyn... for the "reminder."
Ironically, I had read one of your earlier postings to this type of query... and your good advice led me into trouble!
Since my first re-boot after installing Lion had led to a loss of open Safari windows (for no apparent reason), I ended up misunderstanding your post. After reading your tip, I went into SysPrefs and DISABLED the resume feature... It seemed backwards... but I gave it a try
Go figure, Resume didn't happen when I restarted my Mac... so I posted this thread, asking if anyone had any other ideas
You were kind enough to point me back to that SysPreference... and voila... with Resume pref CHECKED the mac performs as we'd like... all my windows (re-)open as Resume is designed.
I have no idea why it didn't work on my first trial... but it's working just fine now!
Thanks for pointing me back in the right direction
Keith -
Lost session after window.open
I'm running two web applications in different WebLogic server instances
(port no 7001 & 7003).
When A.jsp (in 7001) executes a script window.open('B.jsp') (in 7003), the
session associated 7001
loses its data. Has anyone meet this problem ??? I use WLS 8.1 sp2.
Thank you.
Joseph LeeYou would be better of looking at an explorer news group for this answer.
This is because session information is stored in a cookie that is handed to weblogic by the browser, weblogic does not give a shit who's talking to it as long as a valid session is returned.
So it sounds like the browser is not doing its job of associating the new window with the same session but thinks it is a brand new window (just like "file new"), there is probably another javascipt command you should be using, other than this one. -
Safari 6.0, what happened with option to open with windows from last session?
Made the upgrade from Snow Leopard to Mountain Lion and realized that I don't longer have the option to open Safari with windows from last session (Preferences->General). The option has been removed:
They don't. I can access them by history ->reopen all windows from last session, but that's not what I want.
Does anybody else have this problem or is it just me that lost that option on Preferences -> General? -
Problem with Sessions and window.open
Hi,
Hi everyone,
Help Please!!!
I am working with Sevlet session objects and HTML forms and windows. I have an HTML form for the user to supply a username and password. Once the user clicks submit I need to open another browser window that has no toolbar, no location, no status bar, etc. The user should also be able to go back to that login screen and login again and open a 2nd, 3rd, etc. instance of the application. My problem is that each application is being asigned the same sessionId. I believe it is being asigned to the main login window and thus to the other child windows it opens. Is there a way to work around this? Do I need to make the user open another browser window to login? I need to be able to let the user open multiple instances of the application with unique session ids for each.
Any insight is GREATLY appreciated on this topic. Anything you can tell me about sessions (Java), IE, window.open would help greatly!
THANK YOU IN ADVANCE!!!
MATo achieve this, you must introduce another level of
abstraction to the Servlet specifications. When you
work with JSP/Servlets you use mostly the HttpSession
to handle user related tasks, and the aplication
context, for things that are common to all users. But
inside the HttpSession scope, you want to create
containers that have 'smaller' scope and are uniquely
identified.
A ipothetical scenario :Let's say that you must have
multiple connections to several databases, on each
database user rights beeing diferrent, and you must be
able to track user actions globaly, and eventualy
capture a 'Close Application event' and close all db.
connections.
1. when the user first accesses the login frame create
the HttpSession. In the HttpSession object, store a
Hastable (let's call it 'ConnectionTable'). Each
object in the Hashtable must identify uniqely a
database connection. Now, to create unique identifiers
ids, make the keys in the hashtable java.lang.Long
objects, created using System.getCurrentTimeMillis().
This guaranties there will be no possible confusion.
From each new open window, on each request to the
server, along with the usefull parameters, send the
connection identifier. When proccessing the request,
select the object from the Hastable wich corresponds
to the ID.
2. Now, the values in the ConnectionTable, must act as
the containers that I mentioned in the first
paragraph. The simplest way to do this is to have
again a Hashtable derived class to do the job, wich
exploses methods similar to HttpSession: setAttibute (
Object key, Object value) and getAttibute ( Object
key, Object value). This container may use internally
a Hashtable to store object, and explose only the
getAttribute and setAttribute methods for clarity. Any
way, this is a problem of implementation. Let's call
this class CustomSession.
Now, a textual activity diagram:
1 user accesses the main page, you start a new
HttpSession; In the HttpSession object, store the
ConnectionTable object.
2. the user enters the userID and pwd and adatabase
name, and a new window is opened. Let's supose the
data entered is valid.
3. when you process the login data, you create a new
CustomSession object. you put in it whatever you would
put in your HttpSession. You generate a unique
identifier using System.CurrentTimeMillis(). Put the
CustomSession object in the ConnectionTable, using the
generated id as key. Send the response.
..... later on .....
100. the user asks for a particular action to be
performed - e.g. a row deletion. The page contains a
form with text field where the user introduces the
row number, a submit button and a hidden input with
the ID.
101. you process the data. Get the ID from the request
object, get the ConnectionTable from the session, get
the CustomSession using the ID as key, do whatever
your logic was doing, but obtaining the objects from
the CustomSession instead of HttpSession
NicNic,
Very slick idea. I think that it could work and it seems that there would be not security issues because the id that you would store on the client side is the Unique Identifier and not the actual Session Id. Do you forsee any security issues for this implementation? -
Tab and window restoration has FAILED after version 13.01 installation! Out of 7 windows open with multiple tabs, only ONE BROWSER WINDOW OPENED with NO reference to what happened to the normal session that had been in the previous version of FF. I've read about this and I DON'T LIKE IT. It is reverse engineering. WHY would you scrap someone's research for the sake of making your browser open more quickly? DAMMIT MAN I don't have time to study a browser. I may not endure this version! I don't see a way out of this ff trap, other than go to previous version which is always a bitch. Dammit!
You need to use "Firefox/File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit") to close Firefox if you are currently doing that by clicking the close X on the title bar to close Firefox with all open windows at once. Otherwise only the last closed window will be restored. If this did happen then check History > Recently Closed Windows to see if any are listed (default is 3).
-
Since the latest Saffari update to 5.1.2, every time I close Safari and reopen, and select "Reopen all windows from last session," two of every window opens. I must go through a long list under the 'Window' menu and select one of eac pair and close them. What a hassle.
Has anyone experienced this as well, and is there a fix?is there a fix?
Disable Resume...
How To Disable Lion's 'Resume' Feature - MacRumors.com -
I reset Safari and lost my "reopen all windows from last session" windows.
Is there a way to retrieve those windows after a reset, or from the session before last? Basically, I had some useful windows open, but don't remember what they all were.
If you didn't select Clear History from Safari > Reset click History from the Safari menu bar.
See if the history trail is still available. -
Lost "Reopen all windows from last session"
Somehow, I lost the "Reopen all windows from last session" command from the History Menu in Safari 4.0.4. Tried deleting Safari and reinstalling, but no luck, so, it must be in one of the Library files, I guess. Any ideas on how I can recover this feature would be very much appreciated.
HI,
FYI, it's better to trouble shoot Safari rather than re-install the app.
From the Safari Menu Bar, click Safari / Empty Cache. When you are done with that...
From the Safari Menu Bar, click Safari / Reset Safari. Select the top 5 buttons and click Reset.
Go here for trouble shooting 3rd party plugins or input managers which might be causing the problem.
http://support.apple.com/kb/TS1594
Since you are running Snow Leopard, make sure Safari is running in 32-bit mode, not 64. Right or control click the Safari icon in the Applications folder, then click: Get Info In the Get Info window click the black disclosure triangle next to General so it faces down. Select 32 bit mode. Also, (in that same window) *make sure Safari is NOT running in Rosetta.*
Relaunch Safari.
If nothing above helps, go to the Safari Menu Bar, click Safari/Preferences. Make note of all the preferences under each tab. Quit Safari. Now go to ~/Library/Preferences and move this file com.apple.safari.plist to the Desktop. Relaunch Safari. If you can see: Remove All Windows From the Last Session, then that .plist file is corrupted and needs to be moved to the Trash.
Carolyn
Message was edited by: Carolyn Samit -
Safari won't open to 'all windows from last session'
Safari is set to open to 'all windows from last session' - but it opens to a blank page. Not every time, but 75%+. I usually have multiple tabs open, not always the same ones, and this is slow, annoying and tedious to frequently reconstruct where I left it.
Any ideas?
I just moved to a MacBook from Windows and I am surprised to have an issue like this crop up so quickly (or well ever - based on Apple's reputation, that is - and all the glowing things my firends and associates have told me)Open a Finder window. From the menu bar click Go > Go to Folder
Type or copy / paste the following:
~/Library/Caches/com.apple.Safari/Cache.db
Click Go then move the Cache.db file to the Trash.
Quit and relaunch Safari to test.
BTW, if you enable the Develop menu you can empty the Safari cache easily instead of having to go through your user library.
From the Safari menu bar click Safari > Preferences then select the Advanced tab.
Select: Show Develop menu in menu bar
Then from the Safari menu bar top of your screen, click Develop > Empty Caches -
Create new session for each window opening
From a jsp page i open a page called student.jsp by clicking on students admision no.Therefore lots of pages can be opend in new windows with relevent student details.
but when i click on the link i called a servlet, get relevent details and redirect to student.jsp. The problem is ,all opened windows have same session id and there are session conflicts.
How can i create new sessions for each page thru the servlet or is there any other alternativesI actually was working on a problem that was similar to this, and the problem is with how each web-browser works with sessions...
Each browser window (Except in one case with IE) will use the same session in each window.
However, you might be able to use URL-Rewritting to manage your sessions and get around using cookies for for session tracking. I personally haven't tried this, but I'm betting that it will work.
Best of Luck,
Nate -
Session problem in a new window created by window.open()
hello,
I have a drugsearch.jsp page, I sessioned an durgCollection object on this jsp page using session.setAttribute("drugCollection",drugCollection);
there is a link on this jsp which will call a javascript to open a new window .
here is the javascript to open another new window:
function openReportWindow()
window.open("/drug/Report.jsp","report", "toolbar,scrollbars,width=800,height=800,left=100,top=10");
but in the Report.jsp, I won't be able to get the same session object as in the calling jsp ( drugsearch.jsp) by calling session.getAttribute("drugCollection").
if I change the link on drugsearch.jsp to link to the Report.jsp directly instead of opening a new window, then I can get the same session object from the Report.jsp.
what's the problem? can someone give me an advice?
thanksA session is assosiated with one client(browser).
when you open a new browser, a new session is created. In order to have common place for both the browsers, try storing the data in the 'Servlet Context' -
I get this when I try to open a session....Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.The task manager shows no open Firefox processes.I had two users on this laptop running Firefox and I tried deleting the program on both users. I then downloaded the newest version, installed it and I still get the error message as before. HELP!!!! I loved the browser program when it was working before and would rather use it than other browsers.
See "Hang at exit":
* http://kb.mozillazine.org/Firefox_hangs
* https://support.mozilla.com/kb/Firefox+hangs
Maybe you are looking for
-
Error 9 While Restoring Iphone 5s using itunes
Hi All, Since Today Morning my iPhone is showing just the Apple Logo, after few Searches on You Tube I tried restoring it using iTunes. The Restoration process works fine for few Minutes but then Shows up Error "9" on iTunes and Blue Screen on my iPh
-
Active Users Request is still running for hours in Release 12
Hi Friends, Today I have installed the Release 12 in the Red Hat AS 4.0. Installation was successfull. All the Concurrent Managers are up and running. I have run some requests in the Paybles, Receivable.. Requests are running for hours..all are stand
-
Referencing a file in the same folder as my programs jar.
I have some images that my application uses and am having a very hard time figuring out how to best reference them. I want it so that my program can be anywhere on the HD as long as it's in one folder. The problem with this is that when I try and ref
-
Can you please help solve my sudden problem saving photos in version sets?
Saving edited photos in Version Set Ever since I have owned the excellent Adobe Photoshop Elements 4.0, I have saved edited photos in a version set with the original. Now, in spite of the 'save in Version Set' box being ticked, they are saved separat
-
BI Integrated Planning: Not possible to enter u0084new rowsu0093 in Webtemplate
Hello Experts, we are trying to use the BI integrated planning, in particular we want to use the manual planning functionality with new rows, that means we want to create new rows for combinations of characteristics for which no data has been enter