• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem in IE8

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are two types of users in our product and we are going to certify on IE8,but facing problem due to the feature of session sharing on IE8,Like if one user login in one browser of IE8 and when another user login with another browser,later session datas are overriding the formar one.

Kindly somebody help me to resolve this.Any idea or suggessions are welcome.
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Ranch Office forum description says

Questions, suggestions and whining about this site. Use the other forums to ask questions about Java.


Please read this => CarefullyChooseOneForum

Moving this to a more suitable forum.
 
Author
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey there,

I'm sorry but I don't really get your issue. What's with the session sharing again? If your app uses actual session cookies, those would "die" as soon as all windows from the browser are closed, so another user coming along and opening an IE8 window later on wouldn't share anything.

What exactly is your scenario?
 
Ashit Acharya
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Christophe Porteneuve wrote:Hey there,

I'm sorry but I don't really get your issue. What's with the session sharing again? If your app uses actual session cookies, those would "die" as soon as all windows from the browser are closed, so another user coming along and opening an IE8 window later on wouldn't share anything.

What exactly is your scenario?




The thing is like,If in a window I am opening the gmail and in the other window,I am opening the yahoo then the previous window in which I have opened gmail becames yahoo automatically,Because of the session sharing feature in IE8.

Now Basically my application is a banking application where several users exists according to rights for example say user1=manager and user2=associate and menus are different for both the users.

Now in a window manager get logged in and got the menus of manager and in another window,associate logged in and got the menus of associate but at the same time the manager's window get changed to same as associate's window and all the menus are getting changed.


Kindly give put some lights in this.
 
Christophe Porteneuve
Author
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey there,

I'm not entirely familiar with the IE8 Session Sharing thing, but from what I gather online, it's just that IE8 preserves session across all windows and tabs of the active IE8 process, right?

Your description is much scarier. You seem to imply that there is some behavior at work where browsing to ANY URL in a given window will IMMEDIATELY REFLECT in other opened windows. I hope I got that wrong, 'cuz that's something I never heard of before and also sounds totally useless and annoying. When you have two IE8 windows open and you browse to Yahoo! in one, you don't see the other one opening Yahoo! too, do you?

I see two things here:

First, do you really have an issue? I mean, is there even a use case where a user of your app with Role A would want to use it on the same desktop as a user with Role B, without logging out this user first and logging in instead?

If that use case does happen, and you want to allow multiple independent sessions in a single use of IE8, the solution is the same regardless of the backend solution you use (I'm assuming ASP.NET, but hey, for all I know you are using PHP): go with cookieless sessions. This means that you don't rely on cookies for storing session states, but pass a serialized session state along with all your URLs. Almost all server-side technologies have easy ways to do this. For instance:

  • PHP has the session.use-trans-sid setting: http://www.php.net/manual/en/session.configuration.php#ini.session.use-trans-sid
  • ASP.NET has the sessionState tag : http://msdn.microsoft.com/en-us/library/aa479314.aspx
  • Java EE has a cookies attribute for the Context element: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html#Common_Attributes
  • etc.


  • Move this discussion over to the forum for your backend technology of choice if you need assistance in setting this up and testing this.

    'HTH,
     
    New rule: no elephants at the chess tournament. Tiny ads are still okay.
    a bit of art, as a gift, the permaculture playing cards
    https://gardener-gift.com
    reply
      Bookmark Topic Watch Topic
    • New Topic