• 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
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Memory associated with an application

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I want to create a List and associate with the applications memory so that it can be accessed by all the instances of the application . For example i want to maintain sessions from the server side. So when each an every new session is created i want to add that session to the list and associate some parameters with it. So that every user knows what the other user is working on. Is this possible with WebSphere App Server? If not is there any method of doing the same thing. This is actually something like a server side cookie instead of client side cookie.

And is there any way server will be able to figure out which sessions are active and which are not?

Any help will be highly appreciated.

Thanks and Regards
Deepak
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Servlet spec expressly forbids sharing sessions between users as a security risk. However, it sounds like what you want to do could be better accomplished by using a shared database that everyone works from.

Kyle
 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you may look at the servlet context to store and retrive this data with forming unique key. It will work only if you have a single app server.
Though as Kyle said above it could lead to a possible scurity breach.


Thanks
[ May 29, 2004: Message edited by: vn us ]
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic