• 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

How to maintain multiple session in JSP

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,
need help in a strange problem of handling multiple sessions, i have a main which contains session object where i have stored a role.
now there is a link on the page over whichi i am opening another page in pop up, now the problem is i wanna have a new role session object with newly opened page with different role and over closing the page i want to retain my last session object with same role as previously, do suggest me how to handle this asap.
with regards
deep.
[ January 16, 2004: Message edited by: Bear Bibeault ]
 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi deep,
if i understood your problem i think u can do this way.
before opening the popup window you can set a cookie to store the role object and can do what ever u want in the pop up window.and when pop up window is closed u can get back the role object from the cookie.
You can know when the pop up window is closed by onunload event in the body tag.
<body onunload=dowhateveryouwant>
in this way you can know when the popup window is closed.
Jyothsna
 
If you were a tree, what sort of tree would you be? This tiny ad is a poop beast.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic