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