zen of coding

Prevent debug info from messing with your AJAX responses

Update (05/21/2010): Well, looks like it has been removed from the core completely (good riddance). Just a little tidbit of code that can help you when doing any AJAX communication… Generally you’ll notice that cake inserts a timestamp with each response, unless debug = 0 (i.e. production mode). This, of[…]

Read More »
%d bloggers like this: