Using the Paging Cookie

banner art

The paging cookie is a performance feature to make paging in the application faster for very large datasets. It's available in both Fetch and QueryExpression queries. When you query for a set of records, the result will contain a value for the paging cookie. For better performance, you can pass that value when you retrieve the next set of records.

Fetch and QueryExpression use a different format for their paging cookies. If you convert from one query format to the other using the FetchXmlToQueryExpression or QueryExpressionToFetchXml messages, the paging cookie value will be ignored.

In addition, if you request non-consecutive pages, the paging cookie value will be ignored.

Related Topics

Using FetchXML

Using QueryExpression

© 2007 Microsoft Corporation. All rights reserved.