From: Mark W. <mew...@un...> - 2000-07-03 15:29:17
|
It should be integrated into the search method via a control as it is now. The purpose of controls is to enxtend or enhance the functionality of a particular LDAP operation. The biggest problem with this is that it makes your life easier because you have a paged controls on your LDAP Server. But my server doesn't use paged controls, instead it supports the Virtual List View control. In other words I think it's a bad idea because: 1) it violates the idea behind the use of LDAP controls 2) it makes the API harder to use 3) it makes the API less flexible Now if you have a better idea about how to make controls work & you can provide patches or code, I think we're all ears :). Mark On Sun, 2 Jul 2000, 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); > > $ldap->search_paged( @args, > pagesize => 1000 ); > > Comments? > > Robbie Allen > > |