Change hits per page via get string?

Post Reply
pete.smith
Posts: 73
Joined: Tue May 17, 2005 2:08 pm

Change hits per page via get string?

Post by pete.smith »

is it possible to change a number in the request to tell it to do 900 results per page? what would that argu be?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Change hits per page via get string?

Post by mark »

That's set in the profile/script. There's currently no way for the end user to vary it.
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Change hits per page via get string?

Post by John »

With Webinator at the end of the init function you could override the variable. E.g.

<$SSc_hitsperpage=$nh>

would let you add an &nh=900 to the URL. It would probably be worth adding additional checks to make sure the number was sane. You would also need to add $nh to the exports to make sure it was kept for next page etc.
John Turnbull
Thunderstone Software
Post Reply