From: Adam Dickmeiss Date: Fri, 22 Jun 2007 10:54:46 +0000 (+0000) Subject: Example client specifies usesessions=true X-Git-Tag: PAZPAR2.1.0.1~21 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=3ccd9f211e9817a1e193c12c7ad19dd785f2321a;p=pazpar2-moved-to-github.git Example client specifies usesessions=true --- diff --git a/www/jsdemo/example_client.js b/www/jsdemo/example_client.js index a9fe032..0863997 100644 --- a/www/jsdemo/example_client.js +++ b/www/jsdemo/example_client.js @@ -1,5 +1,5 @@ /* A very simple client that shows a basic usage of the pz2.js -** $Id: example_client.js,v 1.1 2007-06-21 09:44:17 adam Exp $ +** $Id: example_client.js,v 1.2 2007-06-22 10:54:46 adam Exp $ */ // create a parameters array and pass it to the pz2's constructor @@ -13,6 +13,7 @@ my_paz = new pz2( { "onshow": my_onshow, "onterm": my_onterm, "termlist": "subject,author", "onbytarget": my_onbytarget, + "usesessions" : true, "onrecord": my_onrecord } ); // some state vars var curPage = 1;