<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>How to set Expires in custom action parameter of sendResponse</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=3047496" />
  <subtitle>How to set Expires in custom action parameter of sendResponse</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=3047496</id>
  <updated>2013-05-21T17:24:52Z</updated>
  <dc:date>2013-05-21T17:24:52Z</dc:date>
  <entry>
    <title>How to set Expires in custom action parameter of sendResponse</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=3047495" />
    <author>
      <name>Daniel Antonio Zurita</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=3047495</id>
    <updated>2011-02-11T11:33:06Z</updated>
    <published>2011-02-11T11:33:06Z</published>
    <summary type="html">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.</summary>
    <dc:creator>Daniel Antonio Zurita</dc:creator>
    <dc:date>2011-02-11T11:33:06Z</dc:date>
  </entry>
</feed>

