I am using ZendAMP php and Flex (Flash Builder 4). It works great, but I noticed when I am looking at the traffic going between my flex application and ZendAMF, there packets moving even though I am not requesting communications in my code.
For example, this is what my service looks like in flex:
var activityLogService:RemoteObject = new RemoteObject("zend");
activityLogService.showBusyCursor=true;
activityLogService.endpoint="http://myserver:80/amf/";
activityLogService.source="ActivityLogService";
Then I call something like activityLogService.getRecord(myPassedParams) after setting up my addlistener.
When I watch the network traffic using something such as fiddler, I can see my request and the response come back.
However, I also see these request packets that do not contain names of my zend service objects:
�����null�/1����
���
�Mflex.messaging.messages.CommandMessageoperationcorrelationIdmessageIdtimeToLivetimestampdestinationheaders bodyclientIdI3961D727-35B9-F41C-713A-AA42625FCFD9��
%DSMessagingVersion DSIdnil
The response coming back is pretty vague too:
�����
/1/onResult������
�Uflex.messaging.messages.AcknowledgeMessagecorrelationIdclientIddestinationmessageIdtimestamptimeToLiveheaders bodyI3961D727-35B9-F41C-713A-AA42625FCFD9I53D9441D-E1DC-4829-9B3F-000040DA9368I1322EAF2-B588-9929-0AC4-000013A22D80131282149600�
Are these just some kind of 'keep alive' messages?
If so, is there a way to turn them off?
Also, if so, is there a way I can use them to keep some kind of session alive on the server side maybe (maybe that's what they are for)?