Difference between revisions of "Javascript"
From Wiki2
Line 1: | Line 1: | ||
===JSON Objects and Arrays=== | |||
Don't use jsonify arrays Use objects instead. | |||
===_SESSION variables=== | ===_SESSION variables=== | ||
The problem with having stuff happen on the server is that it always forgets what is going on from moment to moment. The server waits for a request, it could be from anywhere in the world. It doesn't know you from a whole in the wall. The only thing you can do to be remembered is stick stuff in _SESSION variables. | The problem with having stuff happen on the server is that it always forgets what is going on from moment to moment. The server waits for a request, it could be from anywhere in the world. It doesn't know you from a whole in the wall. The only thing you can do to be remembered is stick stuff in _SESSION variables. |
Revision as of 11:35, 22 March 2013
JSON Objects and Arrays
Don't use jsonify arrays Use objects instead.
_SESSION variables
The problem with having stuff happen on the server is that it always forgets what is going on from moment to moment. The server waits for a request, it could be from anywhere in the world. It doesn't know you from a whole in the wall. The only thing you can do to be remembered is stick stuff in _SESSION variables.
http://www.javascript-coder.com/javascript-form/javascript-get-form.htm