Welcome Guest, Not a member yet? Register   Sign In
Pagination on Random Result Set ?
#1

[eluser]chrisco23[/eluser]
Someone out there must be using the Pagination class on a randomly-ordered query result set?

Can anyone recommend a good way to go about this? An example maybe?

Do you do one query and keep all the results in some session variable?

Two things I need to make happen:

1. You click on a result, you click the back button, results are in same order.
2. You get a paginated list of results in a random order, but the order stays the same as you traverse the pagination.

I would think one method solves both problems just not sure what is best and know this must be a solved problem already.



Thanks,
Chris


Messages In This Thread
Pagination on Random Result Set ? - by El Forum - 07-09-2007, 12:50 PM
Pagination on Random Result Set ? - by El Forum - 07-09-2007, 03:27 PM
Pagination on Random Result Set ? - by El Forum - 07-10-2007, 11:32 AM
Pagination on Random Result Set ? - by El Forum - 07-10-2007, 12:30 PM
Pagination on Random Result Set ? - by El Forum - 07-11-2007, 04:09 PM
Pagination on Random Result Set ? - by El Forum - 07-11-2007, 08:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB