i did not copy / pasted the code. in real code there is no such error. i am not asking syntax errors. i am asking about 304.
if it is stupid question, why not u answer ? --- 25/06/09 Per tarihinde Nickolas Daskalou <n...@daskalou.com> şöyle yazıyor: Kimden: Nickolas Daskalou <n...@daskalou.com> Konu: [symfony-users] Re: Ajax - 304 Handle Kime: symfony-users@googlegroups.com Tarihi: 25 Haziran 2009 Perşembe, 16:01 Stupid question, but in your real code do you add the dollar sign ($) in front of "online_user_list"? Ie.: if ($online_user_list == 1) and not: if (online_user_list == 1) ? 2009/6/25 Guychmyrat Amanmyradov <guychmy...@yahoo.com.tr> 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ı! Haber, Ekonomi, Videolar, Oyunlar hepsi Yahoo! Türkiye'de! www.yahoo.com.tr ___________________________________________________________________ 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---