• 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:

window.open() and session variable

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

MY JSP page has a link and clicking on it opens a pop-up window using window.open(). The contents in the pop-up window is generated dynamically based on the values in arraylist. This arraylist is in turn stored in session. The issue here is, the call to window.open() takes a new session and all the session variables are lost.

Can somebody help me out in opening the pop-up in the same session as the main window. Any help would be highly appreciated.

Thanks in advance.

Regards,
Srini
 
author & internet detective
Posts: 42103
933
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

kumar mahesh wrote: The issue here is, the call to window.open() takes a new session and all the session variables are lost.


Are you sure? It shouldn't be giving you a new session. What browser are you using? Can you post the window.open line of code?
 
reply
    Bookmark Topic Watch Topic
  • New Topic