YangNing Posted May 24, 2014 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.
adragan Posted May 24, 2014 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.
Administrators Farshad Mohajeri Posted May 24, 2014 Administrators Posted May 24, 2014 It must be implemented in framework.
Oliver Morsch Posted May 24, 2014 Posted May 24, 2014 http://forums.unigui.com/index.php?/topic/3275-messageserver-push-messages-from-server-to-client-long-polling/
Recommended Posts