Cisco Unified Application Environment Developer Forums

« Back to Etch

How to set Expires in custom action parameter of sendResponse

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi,
 
We use this method to show XML Menu object in phones
 
server.sendResponse(sessionId, options.remoteHost, 200, "text/xml", xmlOutput, "OK", CustomParameters);
 
But I don't know how to use "CustomParameters" object. In Java code we use response.setDateHeader("Expires", 0) to ensure that when we show a new menu, the old menu disappears from the phone.
 
Someone knows how to use that object or any other way to avoid the cache?
 
Thanks and Regards,
 
Daniel.