Re: php <-> js (was Javascript Navigation)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




At 10:33 AM 4/27/2006, tedd wrote:
Can js cycle reading cookies waiting for something to do while php crons writing them as needed -- and vise-versa? Is that a viable method of communication and activation between the two?

At 01:57 PM 4/27/2006, Paul Novitski wrote:
No, because cookie values are changed only on page submit & load.


Let me re-answer that. Yes, cookies are an acceptable method of PHP-JavaScript communication -- when they're turned on in the client -- but require a new page load to synchronize changed values between client & server.

When I said "no" all I meant was that cookies don't work for communicating PHP-to-JavaScript within a single page-view.

Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux