From: Graham B. <gb...@po...> - 2000-07-03 15:06:50
|
On Sun, Jul 02, 2000 at 07:39:53PM -0700, Allen, Robbie wrote: > Would it be feasible to merge the Paged control into the search method? > Generally when I do searches, I want all the entries returned regardless > of the server limit. In fact, some searches I do today will get all > entries, because the number returned does not exceed the server limit. > One day that may not be the case. I could see it as either being > integrated into the current search method's or even a separate one. > > $ldap->search( @args, > paged => 1, > pagesize => 1000); This was my intent once certain controls started to become more standard. The search method should be able to create the right controls to send. But in some cases you need the controls returned from the previous search. For example with paged the server will return a control with a cookie. You should use this cookie in requesting the next page. Also in answer to your previous question, this cookie is unset when the current result is the last page. See rfc2696 Graham. |