More on SSE and Yii

Comparing #1 with #2

Revision #2 was created by Firebreaker Firebreaker on Jun 3, 2013, 3:54:53 AM.

Summary text

Content

[...]
Remember! response data behind "data:" must be in 1 line or row. For example:
echo 'data: '.$this->renderpartial('_view',array('data'=>$data),true);

In this case, in [_view] file html tags **MUST** be stacked and no whitespace allowed.

After all data sent, we must send end of the response kinda thing. Which is echo "\n\n";
 
 or else no response will be shown on browser.
 
If anything you needed more, ask free and don't hesitate.