On Thu, Jan 28, 2010 at 07:36, Mustafa Sak <[email protected]> wrote:

>  Hi Derrel,
>
> I've 2 questions about your php rpc scripts.
>
> 1. Do you know about any POST request LIMIT? I mean expect of the well
> knowen php.ini settings? Does your script has limigts?
> Because I'm getting "JSON-RPC request expected; service, method or params
> missing<br>" if i send a big amount of data.
>

I don't know of any limit on a "reasonable" amount of data. I'm not sure
what "reasonable" is but it's pretty large.

The message you reference is issued immediately after JSON-parsing the the
input data, and it's validating that each of the required fields is there.
It sounds like your data has gotten mangled somehow before even getting to
this point.


> 2. Do you realy need SESSION handling on your script? because of sesions
> php is still waiting till first script is finished before processing the
> next.
>

The session is used primarily for security. I ensures that the referrer in a
request matches the referrer of the first RPC request in the session.

Derrell
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to