List Info

Thread: PHP/YAZ persistent connections




PHP/YAZ persistent connections
user name
2006-03-22 09:41:14
> Date: Wed, 22 Mar 2006 12:37:23 +0300 (MSK)
> From: "Rustam T. Usmanov" <rustamunilib.neva.ru>
>
> Is there any way to keep state between sequential
yaz_present()
> calls?  For example, 1000 records were found and we
need to have
> paged output by 20 records with ability to
interactively retrieve
> next or previous 20 records. Obvious way is to perform
> yaz_connect(), ... , yaz_search(), ..., yaz_record()
sequence of
> calls for every portion of records.

That seems a strange way to do it.

> But it seems to me that this solution is quite
ineffective. If we
> could make one yaz_search() and N times yaz_present()
within the
> same connection resource...

Yes.  So do that, then!

Is there are problem?

 _/|_	
____________________________________________________________
_______
/o ) \/  Mike Taylor  <mikemiketaylor.org.uk>  http://www.miketaylor.or
g.uk
)_v__/\  "It's easier to hire nice people and teach
them about cars than
	 to train someone to be nice" -- Randy Haynes,
Service Manager,
	 Fred Brown Mazda BMW.


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
PHP/YAZ persistent connections
user name
2006-03-22 10:02:53
On Wed, 22 Mar 2006, Mike Taylor wrote:

> > But it seems to me that this solution is quite
ineffective. If we
> > could make one yaz_search() and N times
yaz_present() within the
> > same connection resource...
>
> Yes.  So do that, then!
>
> Is there are problem?

Yes. How to obtain connection resource which was made
earlier by
yaz_connect()?

--
Rustam Usmanov, systems engineer
Institute of Consortia Library Information Systems,
St.Petersburg State Polytechnic University
Address:  29, Politekhnitcheskaya str., St.Petersburg,
195251, Russia
Tel/fax: +7 812 552 7654        <URL:http://www.unilib
.neva.ru/olsc/>

_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )