Hi,
i have perodicall call function
<?php echo jq_periodically_call_remote(array(
'frequency' => '10',
'update' => 'divname',
'raw_with' => "'online_user_list=' +
$('#online_user_list').val()",
'url' => "modulename/actionname"
))
?>
on my action, i want to check
if(online_user_list == 1) {
$this->getResponse()->setHttpHeader("HTTP/1.1 304 Not Modified");
return sfView::HEADER_ONLY ;
}
return sfView::SUCCESS
The problem is, when online_user_list== 1
when i check on firebog returns nothing. And updates my 'divname'. On ajax if
304 returns it must take from cache. What is my mistake.
Can you help ?
Thank you.
___________________________________________________________________
Yahoo! Türkiye açıldı! http://yahoo.com.tr
İnternet üzerindeki en iyi içeriği Yahoo! Türkiye sizlere sunuyor!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---