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 <[email protected]>

>  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 <http://tr.yahoo.com/>>
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to