• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

different popups for different browser session?

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,
i have a urgent requirement. My application has lots of pop-up from different UI/screens. Now, if i open two diffrent browser window, it generally creates different session for the application. here in both the browser, let's say, i have opened the same UI (from which a popup can be opened). If i click the popup link from the UI in Browser 1, i am getting one popup, but if i click the popup link from the UI in Browser 2, it's refreshing the already opened popup. I want to open two different popup for two different session. Is that possible???
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And what does your pop up code look like?

Eric
 
Subhadip Chatterjee
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Eric,
thank god you replied...my code goes like this
var doc = window.open('jsp/popup.jsp', windowname, 'width=500,height=200,top=250,left=250,scrollbars=no');

can we pass any session identifier, in this?
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you passing in the same windowname? Might want to make that dependent on the session or a random value. I really think it is strange it is reusing the window.

Eric
 
I knew that guy would be trouble! Thanks tiny ad!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic