B
Brent
I am trying to communicate information between concurrent requests
running under the same session. This occurs when an AJAX application
launches multiple requests from the same browser. And, I am trying to
broker share session data between the requests. I believe I have
found a way to do this by managing an active list of JSP pageContext's
saved to the session environment. At this point I am not certain
whether I should try to obtain a list of pageContext's from the
session or try to keep track of it in some session variables, but I
think I can work through this.
Any suggestions on other methods to get/maintain a list of concurrent
requests within a session and then allow them to communicate (say by
setting/getting each others variables or declaring/running another's
public function)? Note, I know this could be done via a database, but
for performance and connection caching issues I am avoiding such a
solution. I have read through and prototyped some ideas from Sun's
Thread, Servlet and Runnable documentation and I cannot find any
solutions there.
Thanks
running under the same session. This occurs when an AJAX application
launches multiple requests from the same browser. And, I am trying to
broker share session data between the requests. I believe I have
found a way to do this by managing an active list of JSP pageContext's
saved to the session environment. At this point I am not certain
whether I should try to obtain a list of pageContext's from the
session or try to keep track of it in some session variables, but I
think I can work through this.
Any suggestions on other methods to get/maintain a list of concurrent
requests within a session and then allow them to communicate (say by
setting/getting each others variables or declaring/running another's
public function)? Note, I know this could be done via a database, but
for performance and connection caching issues I am avoiding such a
solution. I have read through and prototyped some ideas from Sun's
Thread, Servlet and Runnable documentation and I cannot find any
solutions there.
Thanks