Send to all session from within a command

Nov 20, 2013 at 11:00 AM
Edited Nov 20, 2013 at 11:03 AM
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 1:53 PM
Please take care of the session snapshot, if you don't want it, please turn off.
Nov 20, 2013 at 2:26 PM
Tanx, yes when disable snapshot it works correctly.