Send to all session from within a command

Nov 20, 2013 at 12:00 PM
Edited Nov 20, 2013 at 12:03 PM
I wanna send data to all session with a command
var sesseions = session.AppServer.GetAllSessions();
            foreach (var gpsSession in sesseions)
            {
                gpsSession.TrySend("Test");
            }
but sesseions.Count() is zero !!!!!!!!!!!
when i debug and insert breakpoint run foreach!!!!
SuperSocket V1.6
Coordinator
Nov 20, 2013 at 2:53 PM
Please take care of the session snapshot, if you don't want it, please turn off.
Nov 20, 2013 at 3:26 PM
Tanx, yes when disable snapshot it works correctly.