Versuche mich gerade an einer Webabfrage der Telefonliste meiner Auerswald Anlage über die API Schnittstelle von Auerswald.
Am PC funktioniert der Pfadaufruf zur Telefonliste einwandfrei, aber im Homeserver scheitert es an der Anmeldung, weil offensichtlich der Sitzungscookie nicht gespeichert wird.
Ich hab es mit 3 einfachen Webabfragen versucht, die alle nacheinander aufgerufen werden.
Webabfrage 1 sendet die Anmeldung:
Daraufhin erhalte ich in der Debug Seite folgendes:
Webabfrage 2 wird daraufhin gestartet:
Diese soll mir den Filter der Gesprächsliste aktivieren, im Debug erhalte ich dann folgendes:
Abfrage 3 die eigentliche Gesprächsliste liefert den gleichen Fehler zurück.
Das Abmelden bei der Anlage über Abfrage 4 funktioniert.
Kann mir jemand sagen, wie ich diesen Sitzungscookie im HS speichern kann ?
Geht das überhaupt ?
Danke, Mike
Am PC funktioniert der Pfadaufruf zur Telefonliste einwandfrei, aber im Homeserver scheitert es an der Anmeldung, weil offensichtlich der Sitzungscookie nicht gespeichert wird.
Ich hab es mit 3 einfachen Webabfragen versucht, die alle nacheinander aufgerufen werden.
Webabfrage 1 sendet die Anmeldung:
Code:
<IP-Adresse>/login_json?LOGIN_NAME=admin&LOGIN_PASS=000000&LOGIN_NOW=
Code:
08.07.2015 15:49:53 (IP: 192.168.1.240) (Port: 80) [B](Send: 114) 0x47 0x45 0x54 0x20 0x2f 0x6c 0x6f 0x67 0x69 0x6e 0x5f 0x6a 0x73 0x6f 0x6e 0x3f 0x4c 0x4f 0x47 0x49 0x4e 0x5f 0x4e 0x41 0x4d 0x45 0x3d 0x61 0x64 0x6d 0x69 0x6e 0x26 0x4c 0x4f 0x47 0x49 0x4e 0x5f 0x50 0x41 0x53 0x53 0x3d 0x30 0x30 0x30 0x30 0x30 0x30 0x26 0x4c 0x4f 0x47 0x49 0x4e 0x5f 0x4e 0x4f 0x57 0x3d 0x20 0x48 0x54 0x54 0x50 0x2f 0x31 0x2e 0x30 0xd 0xa 0x48 0x6f 0x73 0x74 0x3a 0x20 0x31 0x39 0x32 0x2e 0x31 0x36 0x38 0x2e 0x31 0x2e 0x32 0x34 0x30 0xd 0xa 0x43 0x6f 0x6e 0x6e 0x65 0x63 0x74 0x69 0x6f 0x6e 0x3a 0x20 0x43 0x6c 0x6f 0x73 0x65 0xd 0xa 0xd 0xa[/B] GET /login_json?LOGIN_NAME=admin&LOGIN_PASS=000000&LOGIN_NOW= HTTP/1.0 Host: 192.168.1.240 Connection: Close [B](Recv: 316) 0x48 0x54 0x54 0x50 0x2f 0x31 0x2e 0x31 0x20 0x32 0x30 0x30 0x20 0x4f 0x4b 0xd 0xa 0x53 0x65 0x72 0x76 0x65 0x72 0x3a 0x20 0x47 0x6f 0x41 0x68 0x65 0x61 0x64 0x2d 0x57 0x65 0x62 0x73 0xd 0xa 0x45 0x78 0x70 0x69 0x72 0x65 0x73 0x3a 0x20 0x30 0xd 0xa 0x43 0x61 0x63 0x68 0x65 0x2d 0x43 0x6f 0x6e 0x74 0x72 0x6f 0x6c 0x3a 0x20 0x6e 0x6f 0x2d 0x73 0x74 0x6f 0x72 0x65 0x2c 0x20 0x6e 0x6f 0x2d 0x63 0x61 0x63 0x68 0x65 0x2c 0x20 0x6d 0x75 0x73 0x74 0x2d 0x72 0x65 0x76 0x61 0x6c 0x69 0x64 0x61 0x74 0x65 0x2c 0x20 0x70 0x6f 0x73 0x74 0x2d 0x63 0x68 0x65 0x63 0x6b 0x3d 0x30 0x2c 0x20 0x70 0x72 0x65 0x2d 0x63 0x68 0x65 0x63 0x6b 0x3d 0x30 0xd 0xa 0x50 0x72 0x61 0x67 0x6d 0x61 0x3a 0x20 0x6e 0x6f 0x2d 0x63 0x61 0x63 0x68 0x65 0xd 0xa 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x54 0x79 0x70 0x65 0x3a 0x20 0x74 0x65 0x78 0x74 0x2f 0x68 0x74 0x6d 0x6c 0x3b 0x20 0x63 0x68 0x61 0x72 0x73 0x65 0x74 0x3d 0x69 0x73 0x6f 0x2d 0x38 0x38 0x35 0x39 0x2d 0x31 0x3b 0xd 0xa 0x53 0x65 0x74 0x2d 0x43 0x6f[/B] HTTP/1.1 200 OK Server: GoAhead-Webs Expires: 0 Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-Type: text/html; charset=iso-8859-1; Set-Co [B](Gesamt: 1) (Work: 1) (Typ: Liste) (OK: 1)[/B]
Code:
<IP-Adresse>/page_listgespr_save?linepropage=10&filterCB=2727
Code:
08.07.2015 15:49:53 (IP: 192.168.1.240) (Port: 80) [B](Send: 106) 0x47 0x45 0x54 0x20 0x2f 0x70 0x61 0x67 0x65 0x5f 0x6c 0x69 0x73 0x74 0x67 0x65 0x73 0x70 0x72 0x5f 0x73 0x61 0x76 0x65 0x3f 0x6c 0x69 0x6e 0x65 0x70 0x72 0x6f 0x70 0x61 0x67 0x65 0x3d 0x33 0x30 0x26 0x66 0x69 0x6c 0x74 0x65 0x72 0x43 0x42 0x3d 0x32 0x37 0x32 0x37 0x20 0x48 0x54 0x54 0x50 0x2f 0x31 0x2e 0x30 0xd 0xa 0x48 0x6f 0x73 0x74 0x3a 0x20 0x31 0x39 0x32 0x2e 0x31 0x36 0x38 0x2e 0x31 0x2e 0x32 0x34 0x30 0xd 0xa 0x43 0x6f 0x6e 0x6e 0x65 0x63 0x74 0x69 0x6f 0x6e 0x3a 0x20 0x43 0x6c 0x6f 0x73 0x65 0xd 0xa 0xd 0xa[/B] GET /page_listgespr_save?linepropage=30&filterCB=2727 HTTP/1.0 Host: 192.168.1.240 Connection: Close [B](Recv: 321) 0x48 0x54 0x54 0x50 0x2f 0x31 0x2e 0x31 0x20 0x34 0x30 0x33 0x20 0x46 0x6f 0x72 0x62 0x69 0x64 0x64 0x65 0x6e 0xd 0xa 0x53 0x65 0x72 0x76 0x65 0x72 0x3a 0x20 0x47 0x6f 0x41 0x68 0x65 0x61 0x64 0x2d 0x57 0x65 0x62 0x73 0xd 0xa 0x44 0x61 0x74 0x65 0x3a 0x20 0x57 0x65 0x64 0x2c 0x20 0x30 0x38 0x20 0x4a 0x75 0x6c 0x20 0x32 0x30 0x31 0x35 0x20 0x31 0x33 0x3a 0x34 0x38 0x3a 0x34 0x35 0x20 0x47 0x4d 0x54 0xd 0xa 0x50 0x72 0x61 0x67 0x6d 0x61 0x3a 0x20 0x6e 0x6f 0x2d 0x63 0x61 0x63 0x68 0x65 0xd 0xa 0x43 0x61 0x63 0x68 0x65 0x2d 0x43 0x6f 0x6e 0x74 0x72 0x6f 0x6c 0x3a 0x20 0x6e 0x6f 0x2d 0x63 0x61 0x63 0x68 0x65 0xd 0xa 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x54 0x79 0x70 0x65 0x3a 0x20 0x74 0x65 0x78 0x74 0x2f 0x68 0x74 0x6d 0x6c 0x3b 0x20 0x63 0x68 0x61 0x72 0x73 0x65 0x74 0x3d 0x69 0x73 0x6f 0x2d 0x38 0x38 0x35 0x39 0x2d 0x31 0x3b 0xd 0xa 0xd 0xa 0x3c 0x68 0x74 0x6d 0x6c 0x3e 0x3c 0x68 0x65 0x61 0x64 0x3e 0x3c 0x74 0x69 0x74 0x6c 0x65 0x3e 0x44 0x6f 0x63 0x75 0x6d 0x65 0x6e[/B] HTTP/1.1 403 Forbidden Server: GoAhead-Webs Date: Wed, 08 Jul 2015 13:48:45 GMT Pragma: no-cache Cache-Control: no-cache Content-Type: text/html; charset=iso-8859-1; [html][head][title]Documen [B](Gesamt: 1) (Work: 1) (Typ: Liste) (OK: 1)[/B]
Das Abmelden bei der Anlage über Abfrage 4 funktioniert.
Kann mir jemand sagen, wie ich diesen Sitzungscookie im HS speichern kann ?
Geht das überhaupt ?
Danke, Mike
Kommentar