cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2032
Views
0
Helpful
2
Replies

Support for cookies in SPA500 series?

gustavolsson
Level 1
Level 1

Hi all,

In the Cisco App Developer notes it says cookies are supported but I'm unable to get my SPA504G (7.4.6) to return the cookie I set, hence it ends up creating a new session for every request. Are cookies supported on the SPA500-series when using XML services or is that yet to come? Page 5-5 in that document mentions that cookies should work.

Thanks in advance!

2 Replies 2

Alberto Montilla
Cisco Employee
Cisco Employee

Dear Gustav;

Do you have traces for this?

Regards
Alberto

Hi Alberto and thanks for your answer,

This is the debug log from the phone. Please find the pcap file attached!

//Gustav

Oct 29 20:01:02 192.168.1.96 Starting XML service @ http://192.168.1.96:8089/xml/profile/getall

Oct 29 20:01:02 192.168.1.96 ********setSoftKeys for 94beb320 to type 0 with 0 items

Oct 29 20:01:02 192.168.1.96 cme services url=http://192.168.1.96:8089/xml/profile/getall

Oct 29 20:01:02 192.168.1.96 create CMX_new @ 94beb320, init cbData 0

Oct 29 20:01:02 192.168.1.96 cmxhttp: url=http://192.168.1.96:8089/xml/profile/getall

Oct 29 20:01:02 192.168.1.96 [CMXHTTP] scheme = http

Oct 29 20:01:02 192.168.1.96 [CMXHTTP] scheme = 2

Oct 29 20:01:02 192.168.1.96 [CMXHTTP] host=192.168.1.96:8089; path=/xml/profile/getall; locale=Accept-Language: en^M

Oct 29 20:01:02 192.168.1.96 [CMXHTTP] refresh time=0s, URL=

Oct 29 20:01:02 192.168.1.96 [CMXHTTP] Resp=200(915)(915)

Oct 29 20:01:02 192.168.1.96 ?xml version="1.0" encoding="UTF-8"?> Profiler Aktiv: Normal Lunch QueryStringParam:pid=449 Möte QueryStringParam:pid=450 Slutat för dagen QueryStringParam:pid=451 Sjuk i hemmet QueryStringParam:pid=12695 normal hi 1 akt. http://192.168.1.96:8089/xml/profile/set 2 red. http://192.168.1.96:8089/xml/profile/edit 3 avbryt SoftKey:Exit 4

Oct 29 20:01:02 192.168.1.96

Oct 29 20:01:02 192.168.1.96 CMX_eventProc(), msg:0xFB4A, par:2495457056, par2:0

Oct 29 20:01:02 192.168.1.96 xml charset: 18

Oct 29 20:01:02 192.168.1.96 CMX Menu or IconMenu

Oct 29 20:01:02 192.168.1.96 CMX_eventProc(), CMX_parse() done, pobj(0x94be8de0) type = 1

Oct 29 20:01:02 192.168.1.96 CMX_eventProc(),                   title=Profiler, prompt(0x94be8e02)=Aktiv: Normal

Oct 29 20:01:02 192.168.1.96 CMX_eventProc(),                   4 softkeys, max pos 4, items(0x94be8240)

Oct 29 20:01:02 192.168.1.96 CMX_eventProc(),                   refresh to  in 0 sec

Oct 29 20:01:02 192.168.1.96 drawCmxObj(), o->ucType=1

Oct 29 20:01:02 192.168.1.96 ********setSoftKeys for 94bd8d30 to type 1 with 4 items

Oct 29 20:01:02 192.168.1.96 create CMX_new @ 94bd8d30, init cbData 0

Oct 29 20:01:03 192.168.1.96 CMX_eventProc(), msg:0x1003, par:34, par2:0

Oct 29 20:01:03 192.168.1.96 CMX_eventProc(), msg:0x1404, par:1, par2:0

Oct 29 20:01:03 192.168.1.96 CMX_eventProc(), msg:0x1005, par:34, par2:0

Oct 29 20:01:05 192.168.1.96 CMX_eventProc(), msg:0x1003, par:37, par2:0

Oct 29 20:01:05 192.168.1.96 CMX_eventProc(), msg:0x1005, par:37, par2:0

Oct 29 20:01:05 192.168.1.96 CMX_eventProc(), msg:0xFB02, par:0, par2:0

Oct 29 20:01:05 192.168.1.96 CMXAPP:HandleUrl:http://192.168.1.96:8089/xml/profile/edit (null) 0 http

Oct 29 20:01:05 192.168.1.96 CMXAPP: URL expended to http://192.168.1.96:8089/xml/profile/edit

Oct 29 20:01:05 192.168.1.96 ********setSoftKeys for 94bd8d30 to type 0 with 0 items

Oct 29 20:01:05 192.168.1.96 cmxhttp: url=http://192.168.1.96:8089/xml/profile/edit?pid=450

Oct 29 20:01:05 192.168.1.96 [CMXHTTP] scheme = http

Oct 29 20:01:05 192.168.1.96 [CMXHTTP] scheme = 2

Oct 29 20:01:05 192.168.1.96 [CMXHTTP] host=192.168.1.96:8089; path=/xml/profile/edit?pid=450; locale=Accept-Language: en^M

Oct 29 20:01:05 192.168.1.96 [CMXHTTP] refresh time=0s, URL=

Oct 29 20:01:05 192.168.1.96 [CMXHTTP] Resp=200(1024)(1024)

Oct 29 20:01:05 192.168.1.96 ?xml version="1.0" encoding="UTF-8"?> Profil: Möte http://192.168.1.96:8089/xml/profile/set?pid= Ange sluttid ?\205r-månad-dag ymd 2010-10-29 N Timme h 22 N Minut m 01 N akt. http://192.168.1.96:8089/xml/profile/set 2 << SoftKey:<< 3 avbryt SoftKey:Exit 4

Oct 29 20:01:05 192.168.1.96

Oct 29 20:01:05 192.168.1.96 CMX_eventProc(), msg:0xFB4A, par:2495457056, par2:0

Oct 29 20:01:05 192.168.1.96 ********setSoftKeys for 94bd8d30 to type 1 with 4 items

Oct 29 20:01:05 192.168.1.96 xml charset: 18

Oct 29 20:01:05 192.168.1.96 CMX Input

Oct 29 20:01:05 192.168.1.96 CMX_eventProc(), CMX_parse() done, pobj(0x94be9a00) type = 2

Oct 29 20:01:05 192.168.1.96 CMX_eventProc(),                   title=Profil: Möte, prompt(0x94be9a22)=Ange sluttid

Oct 29 20:01:05 192.168.1.96 CMX_eventProc(),                   3 softkeys, max pos 4, items(0x94bd9e20)

Oct 29 20:01:05 192.168.1.96 CMX_eventProc(),                   refresh to  in 0 sec

Oct 29 20:01:05 192.168.1.96 drawCmxObj(), o->ucType=2

Oct 29 20:01:05 192.168.1.96 ********setSoftKeys for 94bf1a30 to type 2 with 3 items

Oct 29 20:01:05 192.168.1.96 create CMX_new @ 94bf1a30, init cbData 0

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: