File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Session Problem with Internet Explorer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Session Problem with Internet Explorer" Watch "Session Problem with Internet Explorer" New topic
Author

Session Problem with Internet Explorer

Vishnu Prakash
Ranch Hand

Joined: Nov 15, 2004
Posts: 1026
How to set Internet Explorer to run all new browser windows ( new IE instance) using single browser process.

This is with respect to Session. If the client uses multiple Internet Explorer, they will be getting different session provided the browser is not opened using ctrl+n or File>> New >> window.

Whereas this is not causing a problem in Opera and FireFox.

How to set the IE to reflect this ?


Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1 - JSTL Tag Documentation
Paul Bourdeaux
Ranch Hand

Joined: May 24, 2004
Posts: 783
There used to be a setting in the Advanced options area called "Launch Browser Window in a separate process" which, if enabled, would force a new session with each new window. If disabled, all windows would share the same session. However, as of IE 5.01, this is no longer an option.
If the computer has less than 32 megabytes (MBs) of RAM installed, this setting is disabled and all instances of Internet Explorer share the same process. If there is 32 MBs of RAM or more installed on the computer, the setting is enabled, which causes new instances of Internet Explorer to create new processes.


You cannot guarantee session state to be maintained over multiple windows. If you need to maintain data over multiple windows, use a key in the query that is tied to a cookie or a bean.


“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook
Vishnu Prakash
Ranch Hand

Joined: Nov 15, 2004
Posts: 1026
Thanks Paul

Kindly brief this

If you need to maintain data over multiple windows, use a key in the query that is tied to a cookie or a bean.
 
Don't get me started about those stupid light bulbs.
 
subject: Session Problem with Internet Explorer
 
Similar Threads
Internet Explorer - HTTP Status 408 - The time allowed for the login process has been exceeded
How to Kill session on browser close
A new Session in another browser window?
Session Management
Can I make a toolbar that can be added as an Add on for Internet Explorer?