YangNing Posted May 24, 2014 Share Posted May 24, 2014 I want send some messages from server to client,not client get from server. I use the codes: ASessionList := UniServerModule.SessionManager.Sessions.SessionList.LockList; try try for I := 0 to ASessionList.Count - 1 do begin TUniGUISession(ASessionList).AddJS('alert("timer message");'); end; except end; finally UniServerModule.SessionManager.Sessions.SessionList.UnlockList; end; but it not work. Link to comment Share on other sites More sharing options...
adragan Posted May 24, 2014 Share Posted May 24, 2014 Good question ! I would like to know if it's possible to send message from server to client without the client initiating the request. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 24, 2014 Administrators Share Posted May 24, 2014 It must be implemented in framework. Link to comment Share on other sites More sharing options...
Oliver Morsch Posted May 24, 2014 Share Posted May 24, 2014 http://forums.unigui.com/index.php?/topic/3275-messageserver-push-messages-from-server-to-client-long-polling/ Link to comment Share on other sites More sharing options...
Recommended Posts