<?xml version="1.0" encoding="UTF-8"?>
-<settings><status>OK</status></settings>
\ No newline at end of file
+<init><status>OK</status><session>2</session><protocol>1</protocol></init>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
-<search><status>OK</status></search>
\ No newline at end of file
+<settings><status>OK</status></settings>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
-<bytarget><status>OK</status>
-<target><id>z3950.indexdata.com/marc</id>
-<name>Target name</name>
-<hits>0</hits>
-<diagnostic>114</diagnostic>
-<records>0</records>
-<state>Client_Idle</state>
-<settings>
-<set name="pz:elements" value="F"/>
-<set name="pz:requestsyntax" value="marc21"/>
-<set name="pz:cclmap:term" value="u=host_wildcard"/>
-<set name="pz:id" value="z3950.indexdata.com/marc"/>
-<set name="pz:name" value="Target name"/>
-<set name="category" value="1"/>
-</settings>
-</target></bytarget>
\ No newline at end of file
+<search><status>OK</status></search>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<settings><status>OK</status></settings>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<search><status>OK</status></search>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<bytarget><status>OK</status>
+<target><id>z3950.indexdata.com/marc</id>
+<name>Target name</name>
+<hits>0</hits>
+<diagnostic>114</diagnostic>
+<records>0</records>
+<state>Client_Idle</state>
+<settings>
+<set name="pz:elements" value="F"/>
+<set name="pz:requestsyntax" value="marc21"/>
+<set name="pz:cclmap:term" value="u=host_wildcard"/>
+<set name="pz:id" value="z3950.indexdata.com/marc"/>
+<set name="pz:name" value="Target name"/>
+<set name="category" value="1"/>
+</settings>
+</target></bytarget>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<bytarget><status>OK</status>
+<target><id>z3950.indexdata.com/marc</id>
+<name>Target name</name>
+<hits>0</hits>
+<diagnostic>0</diagnostic>
+<records>0</records>
+<state>Client_Idle</state>
+<settings>
+<set name="pz:elements" value="F"/><set name="pz:elements" value="F"/>
+<set name="pz:requestsyntax" value="marc21"/>
+<set name="pz:cclmap:term" value="u=1016"/><set name="pz:cclmap:term" value="u=host_wildcard"/>
+<set name="pz:id" value="z3950.indexdata.com/marc"/>
+<set name="pz:name" value="Target name"/>
+<set name="category" value="1"/>
+</settings>
+</target></bytarget>
\ No newline at end of file
-http://localhost:9763/search.pz2?session=1&command=init
+http://localhost:9763/search.pz2?command=init
+http://localhost:9763/search.pz2?command=init&clear=1
http://localhost:9763/search.pz2?session=1&command=settings&category%5Bz3950.indexdata.com%2Fmarc%5D=1
http://localhost:9763/search.pz2?session=1&command=search&query=water
+http://localhost:9763/search.pz2?session=2&command=settings&category%5Bz3950.indexdata.com%2Fmarc%5D=1&pz:cclmap:term%5Bz3950.indexdata.com%2Fmarc%5D=u%3D1016&pz:elements%5Bz3950.indexdata.com%2Fmarc%5D=F
+http://localhost:9763/search.pz2?session=2&command=search&query=water
2 http://localhost:9763/search.pz2?session=1&command=bytarget&settings=1
+http://localhost:9763/search.pz2?session=2&command=bytarget&settings=1