« Return to Thread: Keep track of ScriptSessions for one browser

Re: Keep track of ScriptSessions for one browser

by XMaNIaC :: Rate this Message:

Reply to Author | View in Thread

I think that we need a FAQ somewhere because this has been answered hundreds of times by now

On Wed, May 7, 2008 at 10:39 PM, Erlend Sobec <erlend.sobec@...> wrote:
Is there a way to send back information to only one browser even though multiple browsers are on the given page?

My problem is that I have multiple users logged in accessing their data.  If there is an update for any given user, I don't want it to be sent to all users currently logged in.

I saw a post on how to deal with this if the thread is started by DWR, but in my case it isn't.  Also, in the javadoc there is mention of getScriptSession(String id) but I can't find the method anywhere.  Maybe I could use this to determine which ScriptSession I need to send updates to.

Thanks,

Erlend

 « Return to Thread: Keep track of ScriptSessions for one browser

LightInTheBox - Buy quality products at wholesale price