Following further investigation, I realized that avec QUIT then CHECK,
I receive a 004 error, but that that error is not received by the APE-
JSF. So that is fine. I do not have to do anything about the error. It
is just transparent to APE-JSF.

However, I still wonder why the CHECK is sent...



On 10 juin, 16:50, Nicolas <[email protected]> wrote:
> Hi,
>
> I have already noticed this a few times, but until now it did not
> bother me as it had no consequence on my code. However, it may have
> now.
>
> So here it is. I noticed that after sending a QUIT command (via
> this.core.quit), the ape-jsf also sends a CHECK command. That seems
> extremely useless to me and moreover it means that I receive an
> unnecessary BAD SESSION error that (as I detect it in my program)
> leads to some unwanted behaviour.
>
> So why is a CHECK sent after a QUIT? Does it have to be like this?
>
> See the logs below.
>
> Thanks in advance.
>
> Nicolas.
>
> [{"cmd":"QUIT","chl":3,"s...
> Source
> [{"cmd":"QUIT","chl":3,"sessid":"b3b20044d0b5f5d216ee17e774266a78"}]
>
> POSThttp://32.ape.local.ape-project.org:6969/0/?
> POSThttp://32.ape.local.ape-project.org:6969/0/?
>
> 200 OK
>                 68ms
> mootools-core.js (line 1651)
> ParamsHeadersPostPutResponseCacheHTML
> Response Headersview source
> Pragma  no-cache
> Cache-Control   no-cache, must-revalidate
> Expires Thu, 27 Dec 1986 07:30:00 GMT
> Content-Type    text/html
> Request Headersview source
> Host    32.ape.local.ape-project.org:6969
> User-Agent      Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/
> 20101206 Ubuntu/10.04 (lucid) Firefox/3.6.13 GTB7.1
> Accept  text/javascript, text/html, application/xml, text/xml, */*
> Accept-Language fr-ca,en-us;q=0.7,en;q=0.3
> Accept-Encoding gzip,deflate
> Accept-Charset  ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive      115
> Connection      keep-alive
> X-Requested-With        XMLHttpRequest
> Content-Type    application/x-www-form-urlencoded; charset=utf-8
> Refererhttp://32.ape.local.ape-project.org:6969/?[{%22cmd%22:%22script%22,%22params%22:{%22domain%22:%22local.ape-project.org%22,%22scripts%22:[%22http://local.ape-project.org/ape-jsf//Source/mootools-core.js%22,%22h...]}}]
> Content-Length  39
> Cookie  __utma=97185743.712259950.1285279593.1300817387.1300832436.66;
> __utmz=97185743.1300832436.66.106.utmcsr=ape-project.org|
> utmccn=(referral)|utmcmd=referral|utmcct=/demos/1/ape-real-time-
> chat.html; style_cookie=printonly; APE_Cookie=%7B%22frequency
> %22%3A35%2C%22instance%22%3A%5B%5D%7D;
> fbs_151666574870937="access_token=151666574870937%7C2.AQDxcSdOWh7ab5P2.3600.1307725200.1-1251704522%7CniDDY03Z82r7Xed1DDTnwtp6zRE&base_domain=local.ape-
> project.org&expires=1307725200&secret=jRcXUIBc4ZrBXZ5LJ3v_6A__&session_key=2.AQDxcSdOWh7ab5P2.3600.1307725200.1-1251704522&sig=15bef30296a2568f8777e32a3ad92b72&uid=1251704522"
> Parametersapplication/x-www-form-urlencoded
> [{"cmd":"CHECK","chl":1,"...
> Source
> [{"cmd":"CHECK","chl":1,"sessid":null}]
>
> [{"time":"1307720295","raw":"ERR","data":
> {"code":"004","value":"BAD_SESSID"}}]

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to