If you just want to be able to go back like when you use the "back" button in
the browser, do this:
<input type="button" value="Return to search results" onClick="history.back();"
Note that this will not work if you have a couple of pages after the detail
view, such as an update template etc.
You might think about caching the query - this will prevent database accessing.
Just format your query thus:
<cfquery name="myQuery" datasource="#dsn#"
cachedwithin="#createtimespan(0,0,5,0)#">
This will cache the query for five minutes.
--------
Rob Keniger
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.