Les,
<cfset client.srchRsltsIDs = ValueList(myQuery.id)>
then, on the item view pages:
<cfparam name="client.srchRsltsIDs" default="">
<cfparam name="url.id" default="">
<cfif ListFind(client.srchRsltsIDs,url.id) EQ 0>
<cflocation url="search.cfm" addtoken="no">
</cfif>
And then using some list functions you will be able to get the next and
previous ids out of the client.srchRsltsIDs variable.
hth
Charlie Hanlon
Web Apps Developer
Food Service Enablers, Inc.
www.fsenablers.com
The People. The Platform. The Products.
Make the Difference
----- Original Message -----
From: "Les Irvin" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Monday, November 14, 2005 2:09 PM
Subject: Search results help?
>I have created a search page which may return, for example, 20 records
> referenced by ID numbers. I'd like the user to be able to browse through
> the result set one at a time - a page for each record in the set.
>
> How do I maintain and reference that set of ID numbers as the user browses
> across many html pages? I've put the result set into an array but can't
> figure out how to reference the array across the pages.
>
> Am I way off base in my approach?
>
> Thanks in advance,
> Les
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224115
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54