On 11/11/2012 12:19 PM, Rouslan Placella wrote:
On 11/11/2012 12:15 PM, Marc Delisle wrote:
Hi,
I have questions about [0]:
- am I restricted to the list of keys mentioned there?
You add more keys in getJsParams() function in Header.class.php
- can I use this mechanism to store something that is persistent during
the working session, without using $_SESSION at the PHP level?
No
Perhaps I should explain myself here. The values that you can get from PMA_commonParams() are blindly overwritten after each ajax request to the server. If you have a look at an ajax response in firebug you will find a '_params' object with data that will be used to reset the parameters stored on the client side. The fact that the parameters are always overwritten is also a good reason to keep the number of keys as low as possible in order to minimise the amount of data in the ajax responses.
[0] http://wiki.phpmyadmin.net/pma/Page_loader#Accessing_common_parameters_via_J...
Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel