Hi,
I have trouble calling the logout function via the openxchange http api. After I have aquired the session id I try to terminate the session.
Here are the logs:
As you can see, i did aquire the session id: 8b8e6b1d55b143df96f4e74799b695e0. When I try to terminate the session by calling http://fqdn/ajax/login?action=logout...f4e74799b695e0 I get HTTP request failed! HTTP/1.1 403 Forbidden.
I have also tried suppling the session id as post data, json data and cookie. All with no success. I also tried the Content-Types application/x-www-form-urlencoded, application/x-www-urlencoded and text/javascript.
I am running out of ideas where to look next. Could you please supply a valid http request?
Regards,
hbwinther.
I have trouble calling the logout function via the openxchange http api. After I have aquired the session id I try to terminate the session.
Here are the logs:
Code:
Aug 23, 2012 10:30:50 AM com.openexchange.log.internal.LoggerTask call INFO: Logged at: com.openexchange.ajax.Login$11.doLogin(Login.java:922) Login:activesync IP:109.84.146.254 AuthID:e6c0e2c2e3a14fe4ba61ec6dd524bd4d Agent:null Client:com.openexchange.ox.gui.dhtml(null) Interface:HTTP_JSON Context:1(1,defaultcontext) User:14(activesync) Session:8b8e6b1d55b143df96f4e74799b695e0 Random:1d0e77d6d75e4e32a4f303e2efb56866 Aug 23, 2012 10:30:50 AM com.openexchange.log.internal.LoggerTask call INFO: Logged at: com.openexchange.ajax.SessionServlet.extractSecret(SessionServlet.java:597) Didn't found an appropriate Cookie for name "open-xchange-secret-AGEtOH0oKuAd2YEMEENZsQ" (CookieHashSource=CALCULATE) which provides the session secret.
I have also tried suppling the session id as post data, json data and cookie. All with no success. I also tried the Content-Types application/x-www-form-urlencoded, application/x-www-urlencoded and text/javascript.
I am running out of ideas where to look next. Could you please supply a valid http request?
Regards,
hbwinther.