• Post Reply Bookmark Topic Watch Topic
  • New Topic

different popups for different browser session?  RSS feed

 
Subhadip Chatterjee
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • 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???
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • 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
  • 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
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!