[Phpmyadmin-devel] AJAXification and edit privileges
Marc Delisle
marc at infomarc.info
Tue Aug 31 15:48:38 CEST 2010
Ninad Pundalik a écrit :
> Hi,
>
> I just tried using a POST Ajax request instead of the GET request that
> currently retrieves the form for editing privileges. It does show the
> recently changed permissions correctly.
>
> However, POST requests are meant to be used when we would like to
> submit changes ([0]), while this is a query that just retrieves some
> HTML. So, if we use POST, we intend to change something in the
> database, while we don't do that. Hence, is the use of a random
> number appended to the end of the GET query a more semantically
> correct method?
>
> --
> [0] - http://en.wikipedia.org/wiki/HTTP_POST#Affecting_server_state
I would say that the random number would be a better approach; however
is this caching issue a jQuery issue that can be notified to the jQuery
team? Can we control caching behavior?
--
Marc Delisle
http://infomarc.info
More information about the Developers
mailing list