Re: Is possible to access an HttpSession with its ID from another session ?

2000-11-30 Thread Clemente Dani
You could use the application context, but data will be available for the rest of sessions. - Mensaje Original - De: Ismael Blesa Part [EMAIL PROTECTED] Fecha: MiƩrcoles, Noviembre 29, 2000 7:54 pm Asunto: Is possible to access an HttpSession with its ID from another session ? Is

Re: Is possible to access an HttpSession with its ID from another session ?

2000-11-30 Thread Duffey, Kevin
Keep in mind..Servlet 2.1 deprecated this ability. Its still available for backwards binary compatibility, but its very possible the next release of Servlet (2.3) removes this ability. Don't depend on deprecated apis unless you don't plan on moving forward with newer apis. -Original

Is possible to access an HttpSession with its ID from another session ?

2000-11-29 Thread Ismael Blesa Part
Is possible to access an HttpSession with its ID from another session ? I have an application and I need to pass some information from one session to another. Then I send the sessionID to a JSP where I want to get access to the two sessions, the created session and the session associated with the

Re: Is possible to access an HttpSession with its ID from another session ?

2000-11-29 Thread Mark Wutka
What if you just put the information in the application object instead? You could stick the data in an object and store it in the application object using the session ID as the key. For best results, create an object that implements HttpSessionBindingLIstener so it can remove itself from the

Re: Is possible to access an HttpSession with its ID from another session ?

2000-11-29 Thread Duffey, Kevin
Not any more. Servlet 2.1 deprecated that ability. I don't know if Servlet 2.2 removed it..but due to security risks, they removed the ability (deprecated it) so that one session couldn't gain access to another. Its too bad because it would be nice to have the ability to search through all active

Re: Is possible to access an HttpSession with its ID from another session ?

2000-11-29 Thread Duffey, Kevin
Your right..that is how I did it. More so..most application servers should provide some sort of window in to the sessions that are in existence. I know Orion does this..not sure about others. -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Wednesday,