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

Exit softkey

c.garbutt
Level 1
Level 1

If I display a number of records using softkeys to do Next, Prev etc. there seems to be no way to get back to the starting screen without the user having to press Exit loads of times.

Am I missing something obvious here?

2 Replies 2

XmlEquals
Level 3
Level 3

Required reading to understanding this behavior:

http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_programming_reference_guide_chapter09186a008040575b.html#wp1030621

Quote from link----------->

The expiration header can control which URLs are added to the phone URL history. This behavior differs slightly from traditional web browsers but is implemented to perform the same function. Disable the back button functionality to avoid calling a URL twice.

This functionality allows you to make the content of any page that is sent to the phone expire. When a user presses the Exit softkey, the user goes back to the last URL that did not expire when it was loaded. This differs from traditional browsers by not considering the current freshness of the data but the freshness of the data when the URL was requested. This requires you to have a page expire when it is first loaded and to not set a time and date in the future.

The following example shows how to have content on IIS expire by using Active Server Page (ASP):

<%@ Language=JavaScript %>

<%

Response.ContentType = "text/xml";

Response.Expires = -1;

%>

The "Expires" property specifies the number of minutes to wait for the content to expire. Setting this value to -1 subtracts 1 minute from the request time and returns a date and time that have already passed.

<-----------------------------

That said, there are two ways to go about this.

So, you can either use that header to disable caching of pages into the history of the phone, or you can do it another way...

instead of SoftKey:Exit, do Key:Services. It will clear the phone regardless of what the history is.

Just the ticket - thanks for that, a real case of RFM!