Re: session startup

2002-11-21 Thread Martin Jacobson
[EMAIL PROTECTED] wrote: OK, Perhaps then a session is not what is required here. I wish to make available upon startup of the server, some simple string values. They must be accessible to all clients, auto initialised when the service starts up. This is something similar to a posting

Re: session startup

2002-11-20 Thread Paul_Wallace
Hi, I am looking into servlets to initialise string values every time the service is started, making them accessible to multiple clients? To define them is simple enough, but how can I make them accessible for all clients? Much appreciated Paul.

Re: session startup

2002-11-20 Thread Paul_Wallace
OK, Perhaps then a session is not what is required here. I wish to make available upon startup of the server, some simple string values. They must be accessible to all clients, auto initialised when the service starts up. This is something similar to a posting I made a while ago reagrd

Re: session startup

2002-11-20 Thread David Kavanagh
Hmm, I think you might be missing the point of a session. It is something that is associated with a client. If you want something initialized when the app starts up, you need to put something in a servlet.init() method. In there, check to see if that thing is initialized, if not, initialize it.

session startup

2002-11-20 Thread Paul_Wallace
Relating to the previous posting. Now I have my hastable stored as a session, and am able to retrieve it, I would like the session to be created when the service (TC) starts up, or is restarted. I.e I would like the session to be available without initailsing it by loading a JSP page. Thanks